mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
Fix implementation dependent assertion in test_plistlib. (#4813)
It is failed with an advanced optimizer.
This commit is contained in:
parent
4ae06c5337
commit
0e069a1597
1 changed files with 2 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue