diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-01 10:36:16 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-01 10:36:16 (GMT) |
commit | dd1bcdf6187ff18fb1536a6190926b0f03336186 (patch) | |
tree | a4f0e724cca0ccb121240205541ab27857b90385 /Lib/test/test_plistlib.py | |
parent | f5f37d784b4e3f0362291cad6155a19cdfffcb57 (diff) | |
download | cpython-dd1bcdf6187ff18fb1536a6190926b0f03336186.zip cpython-dd1bcdf6187ff18fb1536a6190926b0f03336186.tar.gz cpython-dd1bcdf6187ff18fb1536a6190926b0f03336186.tar.bz2 |
Issue #26711: Fixed the comparison of plistlib.Data with other types.
Diffstat (limited to 'Lib/test/test_plistlib.py')
-rw-r--r-- | Lib/test/test_plistlib.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_plistlib.py b/Lib/test/test_plistlib.py index f0e9e5a..16114f9 100644 --- a/Lib/test/test_plistlib.py +++ b/Lib/test/test_plistlib.py @@ -515,15 +515,15 @@ class TestPlistlibDeprecated(unittest.TestCase): cur = plistlib.loads(buf) self.assertEqual(cur, out_data) - self.assertNotEqual(cur, in_data) + self.assertEqual(cur, in_data) cur = plistlib.loads(buf, use_builtin_types=False) - self.assertNotEqual(cur, out_data) + self.assertEqual(cur, out_data) self.assertEqual(cur, in_data) with self.assertWarns(DeprecationWarning): cur = plistlib.readPlistFromBytes(buf) - self.assertNotEqual(cur, out_data) + self.assertEqual(cur, out_data) self.assertEqual(cur, in_data) |