summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_copy.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_copy.py')
-rw-r--r--Lib/test/test_copy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_copy.py b/Lib/test/test_copy.py
index d763414..3cb8072 100644
--- a/Lib/test/test_copy.py
+++ b/Lib/test/test_copy.py
@@ -19,7 +19,7 @@ class TestCopy(unittest.TestCase):
def test_exceptions(self):
self.assertIs(copy.Error, copy.error)
- self.assertTrue(issubclass(copy.Error, Exception))
+ self.assertIsSubclass(copy.Error, Exception)
# The copy() method