diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-04 18:50:07 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-04 18:50:07 (GMT) |
commit | b9fe3a839e9212b809d64c11bf92b703adb18fb2 (patch) | |
tree | 86a1c42f305265372bb4d697dad9c99f2ea3715a /tests/format/elf/non_existing_binary.py | |
parent | 0b2cada60941d109bde2f54a198f4c3a799e0606 (diff) |
Updated the test suite for the current API.
Diffstat (limited to 'tests/format/elf/non_existing_binary.py')
-rw-r--r-- | tests/format/elf/non_existing_binary.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/format/elf/non_existing_binary.py b/tests/format/elf/non_existing_binary.py index a6eddd3..c984344 100644 --- a/tests/format/elf/non_existing_binary.py +++ b/tests/format/elf/non_existing_binary.py @@ -19,6 +19,6 @@ class TestNonExistingBinary(ChrysalideTestCase): cnt = FileContent('non_existing_binary') self.assertIsNone(cnt) - with self.assertRaisesRegex(TypeError, 'The argument must be an instance of BinContent.'): + with self.assertRaisesRegex(TypeError, 'argument 1 must be pychrysalide.analysis.BinContent, not None'): - fmt = ElfFormat(cnt, None, None) + fmt = ElfFormat(cnt) |