mirror of
https://github.com/python/cpython.git
synced 2025-08-09 19:38:42 +00:00
bpo-28395: Remove unnecessary semicolons in tests (GH-26868)
(cherry picked from commit 5a3108044d
)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
This commit is contained in:
parent
ef89b2bf42
commit
fcde2c6a8c
8 changed files with 31 additions and 30 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue