mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Remove duplicated tests.
There were duplicated methods with the same name and body.
This commit is contained in:
parent
d30829def2
commit
5b6f0aa71c
2 changed files with 0 additions and 16 deletions
|
@ -42,12 +42,6 @@ class SetAttributeTest(unittest.TestCase):
|
|||
self.parser.specified_attributes = x
|
||||
self.assertIs(self.parser.specified_attributes, bool(x))
|
||||
|
||||
def test_specified_attributes(self):
|
||||
self.assertIs(self.parser.specified_attributes, False)
|
||||
for x in 0, 1, 2, 0:
|
||||
self.parser.specified_attributes = x
|
||||
self.assertIs(self.parser.specified_attributes, bool(x))
|
||||
|
||||
def test_invalid_attributes(self):
|
||||
with self.assertRaises(AttributeError):
|
||||
self.parser.returns_unicode = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue