Fix test_inheritance test.

This commit is contained in:
Ben Lewis committed 2020-08-30 10:03:10 +12:00
1 parent a83c6c5ce1
commit b83cd272b5
1 file changed
+4
+4
View File
@@ -77,6 +77,10 @@ class ExceptionClassTests(unittest.TestCase):
last_depth = depth
finally:
inheritance_tree.close()
# RUSTPYTHON specific
exc_set.discard("JitError")
self.assertEqual(len(exc_set), 0, "%s not accounted for" % exc_set)
interface_tests = ("length", "args", "str", "repr")