@@ -230,8 +230,6 @@ def testBadMagic(self):
230
230
TESTMOD + pyc_ext : (NOW , badmagic_pyc )}
231
231
self .doTest (".py" , files , TESTMOD )
232
232
233
- # TODO: RUSTPYTHON, zipimport.ZipImportError: can't find module 'ziptestmodule'
234
- @unittest .expectedFailure
235
233
def testBadMagic2 (self ):
236
234
# make pyc magic word invalid, causing an ImportError
237
235
badmagic_pyc = bytearray (test_pyc )
@@ -438,8 +436,6 @@ def testNamespacePackage(self):
438
436
mod = importlib .import_module ('.' .join ((subpkg , TESTMOD + '3' )))
439
437
self .assertEqual ('path1.zip' , mod .__file__ .split (os .sep )[- 4 ])
440
438
441
- # TODO: RUSTPYTHON, AttributeError: 'zipimporter' object has no attribute 'find_spec'
442
- @unittest .expectedFailure
443
439
def testZipImporterMethods (self ):
444
440
packdir = TESTPACK + os .sep
445
441
packdir2 = packdir + TESTPACK2 + os .sep
@@ -513,8 +509,6 @@ def testZipImporterMethods(self):
513
509
self .assertEqual (zi2 .archive , TEMP_ZIP )
514
510
self .assertEqual (zi2 .prefix , TESTPACK + os .sep )
515
511
516
- # TODO: RUSTPYTHON, AttributeError: 'zipimporter' object has no attribute 'invalidate_caches'
517
- @unittest .expectedFailure
518
512
def testInvalidateCaches (self ):
519
513
packdir = TESTPACK + os .sep
520
514
packdir2 = packdir + TESTPACK2 + os .sep
@@ -557,8 +551,6 @@ def testInvalidateCaches(self):
557
551
self .assertIsNone (zipimport ._zip_directory_cache .get (zi .archive ))
558
552
self .assertIsNone (zi .find_spec ("name_does_not_matter" ))
559
553
560
- # TODO: RUSTPYTHON, AttributeError: 'zipimporter' object has no attribute 'find_spec'
561
- @unittest .expectedFailure
562
554
def testZipImporterMethodsInSubDirectory (self ):
563
555
packdir = TESTPACK + os .sep
564
556
packdir2 = packdir + TESTPACK2 + os .sep
@@ -736,8 +728,6 @@ def testTraceback(self):
736
728
files = {TESTMOD + ".py" : (NOW , raise_src )}
737
729
self .doTest (None , files , TESTMOD , call = self .doTraceback )
738
730
739
- # TODO: RUSTPYTHON
740
- @unittest .expectedFailure
741
731
@unittest .skipIf (os_helper .TESTFN_UNENCODABLE is None ,
742
732
"need an unencodable filename" )
743
733
def testUnencodable (self ):
0 commit comments