File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2667,7 +2667,7 @@ def test_testfile(): r"""
2667
2667
>>> sys.argv = save_argv
2668
2668
"""
2669
2669
2670
- class TestLoader (importlib .abc .MetaPathFinder , importlib .abc .ResourceLoader ):
2670
+ class TestImporter (importlib .abc .MetaPathFinder , importlib .abc .ResourceLoader ):
2671
2671
2672
2672
def find_spec (self , fullname , path , target = None ):
2673
2673
return importlib .util .spec_from_file_location (fullname , path , loader = self )
@@ -2685,7 +2685,7 @@ def __init__(self, pathdir):
2685
2685
sys .path .append (pathdir )
2686
2686
sys .path_importer_cache .clear ()
2687
2687
self .modules_before = sys .modules .copy ()
2688
- self .importer = TestLoader ()
2688
+ self .importer = TestImporter ()
2689
2689
sys .meta_path .append (self .importer )
2690
2690
2691
2691
def remove (self ):
You can’t perform that action at this time.
0 commit comments