summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_plistlib.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-06 02:00:50 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-06 02:00:50 (GMT)
commitd04d21373f01ff0d4b8aabfb73ea19b2c023f4a0 (patch)
tree6e2e055c9df2575bd372c5db3dfdf866d7b09676 /Lib/test/test_plistlib.py
parentf8f3121775520b6d731924d2e0ce86d2cea898fa (diff)
downloadcpython-d04d21373f01ff0d4b8aabfb73ea19b2c023f4a0.zip
cpython-d04d21373f01ff0d4b8aabfb73ea19b2c023f4a0.tar.gz
cpython-d04d21373f01ff0d4b8aabfb73ea19b2c023f4a0.tar.bz2
Issue #27109: Add InvalidFileException to __all__, by Jacek KoƂodziej
Diffstat (limited to 'Lib/test/test_plistlib.py')
-rw-r--r--Lib/test/test_plistlib.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Lib/test/test_plistlib.py b/Lib/test/test_plistlib.py
index 662ed90..60ff918 100644
--- a/Lib/test/test_plistlib.py
+++ b/Lib/test/test_plistlib.py
@@ -526,8 +526,14 @@ class TestPlistlibDeprecated(unittest.TestCase):
self.assertEqual(cur, in_data)
+class MiscTestCase(unittest.TestCase):
+ def test__all__(self):
+ blacklist = {"PlistFormat", "PLISTHEADER"}
+ support.check__all__(self, plistlib, blacklist=blacklist)
+
+
def test_main():
- support.run_unittest(TestPlistlib, TestPlistlibDeprecated)
+ support.run_unittest(TestPlistlib, TestPlistlibDeprecated, MiscTestCase)
if __name__ == '__main__':