From 682fd343611c4b5f60611d519c2233f4d4164af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sun, 11 Feb 2018 15:54:28 +0000 Subject: construct: the construct API is significantly unstable, fix to 2.8.22 only. This still is required to fix Issue #38, but luckily it's just a test failure for now. --- test/test_construct_extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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) -- cgit v1.2.3