mirror of
https://github.com/python/cpython.git
synced 2025-10-02 13:22:19 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue