We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 504ef19 commit f5a639cCopy full SHA for f5a639c
1 file changed
Lib/test/test_sqlite3/util.py
@@ -50,7 +50,7 @@ def check_tracebacks(self, cm, exc, exc_regex, msg_regex, obj_name):
50
with contextlib.redirect_stderr(buf):
51
yield
52
53
- self.assertIsSubclass(cm.unraisable.exc_type, exc)
+ self.assertEqual(cm.unraisable.exc_type, exc)
54
if exc_regex:
55
msg = str(cm.unraisable.exc_value)
56
self.assertIsNotNone(exc_regex.search(msg), (exc_regex, msg))
0 commit comments