diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-01 10:36:42 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-01 10:36:42 (GMT) |
commit | 47d1d7f48a841dc5539638c3941445d8507e6beb (patch) | |
tree | d8bea256ab2b21cc660aa31f5df74433f9f1a3ef /Lib/test/test_plistlib.py | |
parent | b608196b20483ef69fab0383e61d3e53aed04ece (diff) | |
parent | dd1bcdf6187ff18fb1536a6190926b0f03336186 (diff) | |
download | cpython-47d1d7f48a841dc5539638c3941445d8507e6beb.zip cpython-47d1d7f48a841dc5539638c3941445d8507e6beb.tar.gz cpython-47d1d7f48a841dc5539638c3941445d8507e6beb.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 12d92fa..662ed90 100644 --- a/Lib/test/test_plistlib.py +++ b/Lib/test/test_plistlib.py @@ -514,15 +514,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) |