@@ -234,8 +234,6 @@ def testBadMagic(self):
234
234
TESTMOD + pyc_ext : (NOW , badmagic_pyc )}
235
235
self .doTest (".py" , files , TESTMOD )
236
236
237
- # TODO: RUSTPYTHON, zipimport.ZipImportError: can't find module 'ziptestmodule'
238
- @unittest .expectedFailure
239
237
def testBadMagic2 (self ):
240
238
# make pyc magic word invalid, causing an ImportError
241
239
badmagic_pyc = bytearray (test_pyc )
@@ -442,8 +440,6 @@ def testNamespacePackage(self):
442
440
mod = importlib .import_module ('.' .join ((subpkg , TESTMOD + '3' )))
443
441
self .assertEqual ('path1.zip' , mod .__file__ .split (os .sep )[- 4 ])
444
442
445
- # TODO: RUSTPYTHON, AttributeError: 'zipimporter' object has no attribute 'find_spec'
446
- @unittest .expectedFailure
447
443
def testZipImporterMethods (self ):
448
444
packdir = TESTPACK + os .sep
449
445
packdir2 = packdir + TESTPACK2 + os .sep
@@ -517,8 +513,6 @@ def testZipImporterMethods(self):
517
513
self .assertEqual (zi2 .archive , TEMP_ZIP )
518
514
self .assertEqual (zi2 .prefix , TESTPACK + os .sep )
519
515
520
- # TODO: RUSTPYTHON, AttributeError: 'zipimporter' object has no attribute 'invalidate_caches'
521
- @unittest .expectedFailure
522
516
def testInvalidateCaches (self ):
523
517
packdir = TESTPACK + os .sep
524
518
packdir2 = packdir + TESTPACK2 + os .sep
@@ -561,8 +555,6 @@ def testInvalidateCaches(self):
561
555
self .assertIsNone (zipimport ._zip_directory_cache .get (zi .archive ))
562
556
self .assertIsNone (zi .find_spec ("name_does_not_matter" ))
563
557
564
- # TODO: RUSTPYTHON, AttributeError: 'zipimporter' object has no attribute 'find_spec'
565
- @unittest .expectedFailure
566
558
def testZipImporterMethodsInSubDirectory (self ):
567
559
packdir = TESTPACK + os .sep
568
560
packdir2 = packdir + TESTPACK2 + os .sep
0 commit comments