Skip to content

Commit

Permalink
Merge pull request RustPython#4666 from dalinaum/tests
Browse files Browse the repository at this point in the history
Update test/test_userlist.py and test_userdict.py from CPython 3.11.2
  • Loading branch information
youknowone authored Mar 8, 2023
2 parents 5a74f08 + 58f988b commit 6edd370
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_userdict.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,5 +214,6 @@ class G(collections.UserDict):
self.fail("g[42] didn't raise KeyError")



if __name__ == "__main__":
unittest.main()
5 changes: 0 additions & 5 deletions Lib/test/test_userlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
class UserListTest(list_tests.CommonTest):
type2test = UserList

import sys
@unittest.skipIf(sys.platform == "win32", "TODO: RUSTPYTHON, unexpectedly panics somewhere")
def test_repr_deep(self): # XXX: RUSTPYTHON; remove this method when fixed
super().test_repr_deep()

def test_getslice(self):
super().test_getslice()
l = [0, 1, 2, 3, 4]
Expand Down

0 comments on commit 6edd370

Please sign in to comment.