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:
parent
78cd00b799
commit
eb2f222aae
|
@ -321,6 +321,7 @@ class TestPlistlib(unittest.TestCase):
|
||||||
'second': [1, 2],
|
'second': [1, 2],
|
||||||
'third': [3, 4],
|
'third': [3, 4],
|
||||||
})
|
})
|
||||||
|
if fmt != plistlib.FMT_BINARY:
|
||||||
self.assertIsNot(pl2['first'], pl2['second'])
|
self.assertIsNot(pl2['first'], pl2['second'])
|
||||||
|
|
||||||
def test_list_members(self):
|
def test_list_members(self):
|
||||||
|
|
Loading…
Reference in New Issue