diff --git a/tests/test.py b/tests/test.py index 0d0f0dbe..9e2ef5c1 100755 --- a/tests/test.py +++ b/tests/test.py @@ -11,7 +11,7 @@ ArchLanguage, BadDataError, Context, - DecoderError, + LowlevelError, OpCode, PcodeOp, TranslateFlags, @@ -56,7 +56,7 @@ def test_can_create_all_language_contexts(self): def test_context_creation_failure(self): lang = ArchLanguage.from_id("x86:LE:64:default") bad_lang = ArchLanguage("/bad/arch/path", lang.ldef) - with self.assertRaises(DecoderError): + with self.assertRaises(LowlevelError): Context(bad_lang) def test_context_premature_release(self):