@@ -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
893883class 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' )
903891class CPythonOrderedDictWithSlotsCopyingTests (unittest .TestCase ):
904892
0 commit comments