Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix implementation dependent assertion in test_plistlib. (GH-4813)
It is failed with an advanced optimizer.
(cherry picked from commit 0e069a1)
  • Loading branch information
serhiy-storchaka authored and miss-islington committed Dec 12, 2017
commit a22bd5adf299acb85d55ab6f80deedcb761550b0
3 changes: 2 additions & 1 deletion Lib/test/test_plistlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,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 = {
Expand Down