summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_set.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-06-23 10:03:00 (GMT)
committerGitHub <noreply@github.com>2021-06-23 10:03:00 (GMT)
commitfcde2c6a8c99a56576b25733d5cc60bce6d51f46 (patch)
tree5b369bec44a2bd6534d5ace1e51d3d1fe21fe8f5 /Lib/test/test_set.py
parentef89b2bf42650accd460973f2ecb4f8d661fa5c4 (diff)
downloadcpython-fcde2c6a8c99a56576b25733d5cc60bce6d51f46.zip
cpython-fcde2c6a8c99a56576b25733d5cc60bce6d51f46.tar.gz
cpython-fcde2c6a8c99a56576b25733d5cc60bce6d51f46.tar.bz2
bpo-28395: Remove unnecessary semicolons in tests (GH-26868)
(cherry picked from commit 5a3108044d2e5b694da2d1f4176c9bbaef15c142) Co-authored-by: Dong-hee Na <donghee.na@python.org>
Diffstat (limited to 'Lib/test/test_set.py')
-rw-r--r--Lib/test/test_set.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py
index e4766ab..faf25a7 100644
--- a/Lib/test/test_set.py
+++ b/Lib/test/test_set.py
@@ -375,8 +375,8 @@ class TestSet(TestJointOps, unittest.TestCase):
self.assertEqual(s, set(self.word))
s.__init__(self.otherword)
self.assertEqual(s, set(self.otherword))
- self.assertRaises(TypeError, s.__init__, s, 2);
- self.assertRaises(TypeError, s.__init__, 1);
+ self.assertRaises(TypeError, s.__init__, s, 2)
+ self.assertRaises(TypeError, s.__init__, 1)
def test_constructor_identity(self):
s = self.thetype(range(3))