File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
graalpython/com.oracle.graal.python.test/src Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -579,8 +579,7 @@ def find_conftest(test_module_path):
579
579
return join (test_module_dir , "conftest.py" )
580
580
return None
581
581
582
- @staticmethod
583
- def load_module (path ):
582
+ def load_module (self , path ):
584
583
name = path .rpartition ("/" )[2 ].partition ("." )[0 ].replace ('.py' , '' )
585
584
directory = path .rpartition ("/" )[0 ]
586
585
pkg = []
@@ -621,10 +620,10 @@ def load_module(path):
621
620
622
621
def test_modules (self ):
623
622
for testfile in self .testfiles :
624
- yield TestRunner .load_module (testfile )
623
+ yield self .load_module (testfile )
625
624
626
625
def load_conftest (self , testfile ):
627
- TestRunner .load_module (testfile )
626
+ self .load_module (testfile )
628
627
629
628
def run (self ):
630
629
# eval session scope
You can’t perform that action at this time.
0 commit comments