diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-24 20:50:18 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-24 20:50:18 (GMT) |
| commit | 5b6f0aa71c8f91a970eeb06eb8c636c8c69a569f (patch) | |
| tree | b84d03c6bc8eb016ddb9071e96fd5d7bf8915427 /Lib/test/test_pyexpat.py | |
| parent | d30829def2be7edc649f06d73fdc5a4813e29d1f (diff) | |
| download | cpython-5b6f0aa71c8f91a970eeb06eb8c636c8c69a569f.zip cpython-5b6f0aa71c8f91a970eeb06eb8c636c8c69a569f.tar.gz cpython-5b6f0aa71c8f91a970eeb06eb8c636c8c69a569f.tar.bz2 | |
Remove duplicated tests.
There were duplicated methods with the same name and body.
Diffstat (limited to 'Lib/test/test_pyexpat.py')
| -rw-r--r-- | Lib/test/test_pyexpat.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py index 550aebf..0b68bfa 100644 --- a/Lib/test/test_pyexpat.py +++ b/Lib/test/test_pyexpat.py @@ -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 |
