Fix implementation dependent assertion in test_plistlib. (GH-4813) (#4815)

It is failed with an advanced optimizer.
(cherry picked from commit 0e069a1597)
This commit is contained in:
Miss Islington (bot) 2017-12-12 09:53:02 -08:00 committed by Serhiy Storchaka
parent 78cd00b799
commit eb2f222aae
1 changed files with 2 additions and 1 deletions

View File

@ -321,6 +321,7 @@ class TestPlistlib(unittest.TestCase):
'second': [1, 2],
'third': [3, 4],
})
if fmt != plistlib.FMT_BINARY:
self.assertIsNot(pl2['first'], pl2['second'])
def test_list_members(self):