@@ -64,8 +64,6 @@ def test_bool(self):
6464 self .helper (b )
6565
6666class FloatTestCase (unittest .TestCase , HelperMixin ):
67- # TODO: RUSTPYTHON
68- @unittest .expectedFailure
6967 def test_floats (self ):
7068 # Test a few floats
7169 small = 1e-25
@@ -200,14 +198,11 @@ def test_patch_873224(self):
200198 self .assertRaises (Exception , marshal .loads , b'f' )
201199 self .assertRaises (Exception , marshal .loads , marshal .dumps (2 ** 65 )[:- 1 ])
202200
203- # TODO: RUSTPYTHON
204- @unittest .expectedFailure
205201 def test_version_argument (self ):
206202 # Python 2.4.0 crashes for any call to marshal.dumps(x, y)
207203 self .assertEqual (marshal .loads (marshal .dumps (5 , 0 )), 5 )
208204 self .assertEqual (marshal .loads (marshal .dumps (5 , 1 )), 5 )
209205
210- @unittest .skip ("TODO: RUSTPYTHON; panic" )
211206 def test_fuzz (self ):
212207 # simple test that it's at least not *totally* trivial to
213208 # crash from bad marshal data
@@ -505,8 +500,7 @@ def testModule(self):
505500 self .helper (code )
506501 self .helper3 (code )
507502
508- # TODO: RUSTPYTHON
509- @unittest .expectedFailure
503+ @unittest .skip ("TODO: RUSTPYTHON" )
510504 def testRecursion (self ):
511505 obj = 1.2345
512506 d = {"hello" : obj , "goodbye" : obj , obj : "hello" }
@@ -525,23 +519,15 @@ def _test(self, version):
525519 data = marshal .dumps (code , version )
526520 marshal .loads (data )
527521
528- # TODO: RUSTPYTHON
529- @unittest .expectedFailure
530522 def test0To3 (self ):
531523 self ._test (0 )
532524
533- # TODO: RUSTPYTHON
534- @unittest .expectedFailure
535525 def test1To3 (self ):
536526 self ._test (1 )
537527
538- # TODO: RUSTPYTHON
539- @unittest .expectedFailure
540528 def test2To3 (self ):
541529 self ._test (2 )
542530
543- # TODO: RUSTPYTHON
544- @unittest .expectedFailure
545531 def test3To3 (self ):
546532 self ._test (3 )
547533
@@ -558,8 +544,6 @@ def testIntern(self):
558544 s2 = sys .intern (s )
559545 self .assertEqual (id (s2 ), id (s ))
560546
561- # TODO: RUSTPYTHON
562- @unittest .expectedFailure
563547 def testNoIntern (self ):
564548 s = marshal .loads (marshal .dumps (self .strobj , 2 ))
565549 self .assertEqual (s , self .strobj )
0 commit comments