Fix implementation dependent assertion in test_plistlib. (#4813)

It is failed with an advanced optimizer.
This commit is contained in:
Serhiy Storchaka 2017-12-12 19:03:08 +02:00 committed by GitHub
parent 4ae06c5337
commit 0e069a1597
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -320,7 +320,8 @@ def test_tuple_members(self):
'second': [1, 2],
'third': [3, 4],
})
self.assertIsNot(pl2['first'], pl2['second'])
if fmt != plistlib.FMT_BINARY:
self.assertIsNot(pl2['first'], pl2['second'])
def test_list_members(self):
pl = {