@@ -292,8 +292,6 @@ def test_equality(self):
292
292
# different length implied inequality
293
293
self .assertNotEqual (od1 , OrderedDict (pairs [:- 1 ]))
294
294
295
- # TODO: RUSTPYTHON
296
- @unittest .expectedFailure
297
295
def test_copying (self ):
298
296
OrderedDict = self .OrderedDict
299
297
# Check that ordered dicts are copyable, deepcopyable, picklable,
@@ -337,8 +335,6 @@ def check(dup):
337
335
check (update_test )
338
336
check (OrderedDict (od ))
339
337
340
- @unittest .expectedFailure
341
- # TODO: RUSTPYTHON
342
338
def test_yaml_linkage (self ):
343
339
OrderedDict = self .OrderedDict
344
340
# Verify that __reduce__ is setup in a way that supports PyYAML's dump() feature.
@@ -349,8 +345,6 @@ def test_yaml_linkage(self):
349
345
# '!!python/object/apply:__main__.OrderedDict\n- - [a, 1]\n - [b, 2]\n'
350
346
self .assertTrue (all (type (pair )== list for pair in od .__reduce__ ()[1 ]))
351
347
352
- # TODO: RUSTPYTHON
353
- @unittest .expectedFailure
354
348
def test_reduce_not_too_fat (self ):
355
349
OrderedDict = self .OrderedDict
356
350
# do not save instance dictionary if not needed
@@ -362,8 +356,6 @@ def test_reduce_not_too_fat(self):
362
356
self .assertEqual (od .__dict__ ['x' ], 10 )
363
357
self .assertEqual (od .__reduce__ ()[2 ], {'x' : 10 })
364
358
365
- # TODO: RUSTPYTHON
366
- @unittest .expectedFailure
367
359
def test_pickle_recursive (self ):
368
360
OrderedDict = self .OrderedDict
369
361
od = OrderedDict ()
@@ -888,17 +880,13 @@ class CPythonOrderedDictSubclassTests(CPythonOrderedDictTests):
888
880
class OrderedDict (c_coll .OrderedDict ):
889
881
pass
890
882
891
- # TODO: RUSTPYTHON
892
- @unittest .expectedFailure
893
883
class PurePythonOrderedDictWithSlotsCopyingTests (unittest .TestCase ):
894
884
895
885
module = py_coll
896
886
class OrderedDict (py_coll .OrderedDict ):
897
887
__slots__ = ('x' , 'y' )
898
888
test_copying = OrderedDictTests .test_copying
899
889
900
- # TODO: RUSTPYTHON
901
- @unittest .expectedFailure
902
890
@unittest .skipUnless (c_coll , 'requires the C version of the collections module' )
903
891
class CPythonOrderedDictWithSlotsCopyingTests (unittest .TestCase ):
904
892
0 commit comments