summaryrefslogtreecommitdiff
path: root/Lib/test/test_opcodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_opcodes.py')
-rw-r--r--Lib/test/test_opcodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_opcodes.py b/Lib/test/test_opcodes.py
index 4403a114d2..8b7fd9e7a8 100644
--- a/Lib/test/test_opcodes.py
+++ b/Lib/test/test_opcodes.py
@@ -60,7 +60,7 @@ class OpcodeTest(unittest.TestCase):
try: raise DClass(a)
except DClass as v:
- self.assert_(isinstance(v, DClass))
+ self.assertTrue(isinstance(v, DClass))
else:
self.fail("no exception")