aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_xxlimited.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_xxlimited.py')
-rw-r--r--Lib/test/test_xxlimited.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_xxlimited.py b/Lib/test/test_xxlimited.py
index 6dbfb3f4393..b52e78bc4fb 100644
--- a/Lib/test/test_xxlimited.py
+++ b/Lib/test/test_xxlimited.py
@@ -31,7 +31,7 @@ class CommonTests:
self.assertEqual(self.module.foo(1, 2), 3)
def test_str(self):
- self.assertTrue(issubclass(self.module.Str, str))
+ self.assertIsSubclass(self.module.Str, str)
self.assertIsNot(self.module.Str, str)
custom_string = self.module.Str("abcd")