summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2018-02-11 16:54:28 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2018-02-11 16:54:28 +0100
commit682fd343611c4b5f60611d519c2233f4d4164af1 (patch)
tree08a73de8bc6d87c6405c02bd5ab1a14c5463bcca /test
parentUntil Issue #38 is fixed, expect construct 2.8, and not 2.9. (diff)
downloadglucometerutils-682fd343611c4b5f60611d519c2233f4d4164af1.tar
glucometerutils-682fd343611c4b5f60611d519c2233f4d4164af1.tar.gz
glucometerutils-682fd343611c4b5f60611d519c2233f4d4164af1.tar.bz2
glucometerutils-682fd343611c4b5f60611d519c2233f4d4164af1.tar.lz
glucometerutils-682fd343611c4b5f60611d519c2233f4d4164af1.tar.xz
glucometerutils-682fd343611c4b5f60611d519c2233f4d4164af1.tar.zst
glucometerutils-682fd343611c4b5f60611d519c2233f4d4164af1.zip
Diffstat (limited to '')
-rw-r--r--test-requirements.txt2
-rw-r--r--test/test_construct_extras.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index b1dd11d..b0ee2ff 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,5 +1,5 @@
absl-py
-construct>=2.8,<2.9
+construct==2.8.22
pytest
pytest-timeout
pyserial
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)