8000 Unmark successful tests · RustPython/RustPython@dd15ae5 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd15ae5

Browse files
committed
Unmark successful tests
1 parent 9d33990 commit dd15ae5

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

Lib/test/test_ordered_dict.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,6 @@ def test_equality(self):
292292
# different length implied inequality
293293
self.assertNotEqual(od1, OrderedDict(pairs[:-1]))
294294

295-
# TODO: RUSTPYTHON
296-
@unittest.expectedFailure
297295
def test_copying(self):
298296
OrderedDict = self.OrderedDict
299297
# Check that ordered dicts are copyable, deepcopyable, picklable,
@@ -337,8 +335,6 @@ def check(dup):
337335
check(update_test)
338336
check(OrderedDict(od))
339337

340-
@unittest.expectedFailure
341-
# TODO: RUSTPYTHON
342338
def test_yaml_linkage(self):
343339
OrderedDict = self.OrderedDict
344340
# Verify that __reduce__ is setup in a way that supports PyYAML's dump() feature.
@@ -349,8 +345,6 @@ def test_yaml_linkage(self):
349345
# '!!python/object/apply:__main__.OrderedDict\n- - [a, 1]\n - [b, 2]\n'
350346
self.assertTrue(all(type(pair)==list for pair in od.__reduce__()[1]))
351347

352-
# TODO: RUSTPYTHON
353-
@unittest.expectedFailure
354348
def test_reduce_not_too_fat(self):
355349
OrderedDict = self.OrderedDict
356350
# do not save instance dictionary if not needed
@@ -362,8 +356,6 @@ def test_reduce_not_too_fat(self):
362356
self.assertEqual(od.__dict__['x'], 10)
363357
self.assertEqual(od.__reduce__()[2], {'x': 10})
364358

365-
# TODO: RUSTPYTHON
366-
@unittest.expectedFailure
367359
def test_pickle_recursive(self):
368360
OrderedDict = self.OrderedDict
369361
od = OrderedDict()
@@ -888,17 +880,13 @@ class CPythonOrderedDictSubclassTests(CPythonOrderedDictTests):
888880
class OrderedDict(c_coll.OrderedDict):
889881
pass
890882

891-
# TODO: RUSTPYTHON
892-
@unittest.expectedFailure
893883
class PurePythonOrderedDictWithSlotsCopyingTests(unittest.TestCase):
894884

895885
module = py_coll
896886
class OrderedDict(py_coll.OrderedDict):
897887
__slots__ = ('x', 'y')
898888
test_copying = OrderedDictTests.test_copying
899889

900-
# TODO: RUSTPYTHON
901-
@unittest.expectedFailure
902890
@unittest.skipUnless(c_coll, 'requires the C version of the collections module')
903891
class CPythonOrderedDictWithSlotsCopyingTests(unittest.TestCase):
904892

Lib/test/test_types.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -869,8 +869,6 @@ def eq(actual, expected, typed=True):
869869
eq(x[NT], int | NT | bytes)
870870
eq(x[S], int | S | bytes)
871871

872-
# TODO: RUSTPYTHON
873-
@unittest.expectedFailure
874872
def test_union_pickle(self):
875873
orig = list[T] | int
876874
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
@@ -880,8 +878,6 @@ def test_union_pickle(self):
880878
self.assertEqual(loaded.__args__, orig.__args__)
881879
self.assertEqual(loaded.__parameters__, orig.__parameters__)
882880

883-
# TODO: RUSTPYTHON
884-
@unittest.expectedFailure
885881
def test_union_copy(self):
886882
orig = list[T] | int
887883
for copied in (copy.copy(orig), copy.deepcopy(orig)):

Lib/test/test_xml_dom_minicompat.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ def test_nodelist___radd__(self):
8282
node_list = [1, 2] + NodeList([3, 4])
8383
self.assertEqual(node_list, NodeList([1, 2, 3, 4]))
8484

85-
# TODO: RUSTPYTHON
86-
@unittest.expectedFailure
8785
def test_nodelist_pickle_roundtrip(self):
8886
# Test pickling and unpickling of a NodeList.
8987

0 commit comments

Comments
 (0)
0