@@ -281,6 +281,8 @@ def test_equality(self):
281281 # different length implied inequality
282282 self .assertNotEqual (od1 , OrderedDict (pairs [:- 1 ]))
283283
284+ # TODO: RUSTPYTHON
285+ @unittest .expectedFailure
284286 def test_copying (self ):
285287 OrderedDict = self .OrderedDict
286288 # Check that ordered dicts are copyable, deepcopyable, picklable,
@@ -324,6 +326,8 @@ def check(dup):
324326 check (update_test )
325327 check (OrderedDict (od ))
326328
329+ @unittest .expectedFailure
330+ # TODO: RUSTPYTHON
327331 def test_yaml_linkage (self ):
328332 OrderedDict = self .OrderedDict
329333 # Verify that __reduce__ is setup in a way that supports PyYAML's dump() feature.
@@ -334,6 +338,8 @@ def test_yaml_linkage(self):
334338 # '!!python/object/apply:__main__.OrderedDict\n- - [a, 1]\n - [b, 2]\n'
335339 self .assertTrue (all (type (pair )== list for pair in od .__reduce__ ()[1 ]))
336340
341+ # TODO: RUSTPYTHON
342+ @unittest .expectedFailure
337343 def test_reduce_not_too_fat (self ):
338344 OrderedDict = self .OrderedDict
339345 # do not save instance dictionary if not needed
@@ -345,6 +351,8 @@ def test_reduce_not_too_fat(self):
345351 self .assertEqual (od .__dict__ ['x' ], 10 )
346352 self .assertEqual (od .__reduce__ ()[2 ], {'x' : 10 })
347353
354+ # TODO: RUSTPYTHON
355+ @unittest .expectedFailure
348356 def test_pickle_recursive (self ):
349357 OrderedDict = self .OrderedDict
350358 od = OrderedDict ()
@@ -1011,7 +1019,7 @@ class PySimpleLRUCacheTests(SimpleLRUCacheTests, unittest.TestCase):
10111019 class type2test (SimpleLRUCache , py_coll .OrderedDict ):
10121020 pass
10131021
1014- @ unittest . skip ( "TODO: RUSTPYTHON" )
1022+
10151023@unittest .skipUnless (c_coll , 'requires the C version of the collections module' )
10161024class CSimpleLRUCacheTests (SimpleLRUCacheTests , unittest .TestCase ):
10171025
0 commit comments