summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-24 20:53:16 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-24 20:53:16 (GMT)
commitfd2839e1de4e1eac61d982fe3a0d2b4602f3fd3e (patch)
tree703a09c5db952a8e5c1d2bab4a43f0b6d54ba92e /Lib
parente4fbb0206d0794b58d096beafd9964340ea26640 (diff)
parent5b6f0aa71c8f91a970eeb06eb8c636c8c69a569f (diff)
downloadcpython-fd2839e1de4e1eac61d982fe3a0d2b4602f3fd3e.zip
cpython-fd2839e1de4e1eac61d982fe3a0d2b4602f3fd3e.tar.gz
cpython-fd2839e1de4e1eac61d982fe3a0d2b4602f3fd3e.tar.bz2
Merge 3.5
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_pyexpat.py6
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