diff options
Diffstat (limited to 'test/test_construct_extras.py')
-rw-r--r-- | test/test_construct_extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_construct_extras.py b/test/test_construct_extras.py index 66da5b7..b0cd1c3 100644 --- a/test/test_construct_extras.py +++ b/test/test_construct_extras.py @@ -51,7 +51,7 @@ class TestTimestamp(unittest.TestCase): _TEST_DATE2) def test_build_custom_epoch_negative_failure(self): - with self.assertRaises(construct.core.FieldError): + with self.assertRaises(construct.core.FormatFieldError): construct_extras.Timestamp( construct.Int32ul, epoch=_NEW_EPOCH).build(_TEST_DATE1) |