mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Merge pull request #3916 from youknowone/fix-userlist
Fix outdated test_userlist
This commit is contained in:
7
Lib/test/test_userlist.py
vendored
7
Lib/test/test_userlist.py
vendored
@@ -7,10 +7,6 @@ import unittest
|
||||
class UserListTest(list_tests.CommonTest):
|
||||
type2test = UserList
|
||||
|
||||
# TODO: RUSTPYTHON, parent method is marked but this version passes
|
||||
def test_init(self):
|
||||
super().test_init()
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def test_contains_fake(self): # XXX: RUSTPYTHON; the method also need to be removed when done
|
||||
@@ -21,10 +17,9 @@ class UserListTest(list_tests.CommonTest):
|
||||
def test_count(self): # XXX: RUSTPYTHON; the method also need to be removed when done
|
||||
super().test_count()
|
||||
|
||||
# TODO: RUSTPYTHON, parent method is marked but this version passes
|
||||
import sys
|
||||
@unittest.skipIf(sys.platform == "win32", "TODO: RUSTPYTHON, unexpectedly panics somewhere")
|
||||
def test_repr_deep(self):
|
||||
def test_repr_deep(self): # XXX: RUSTPYTHON; remove this method when fixed
|
||||
super().test_repr_deep()
|
||||
|
||||
def test_getslice(self):
|
||||
|
||||
Reference in New Issue
Block a user