File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 6
6
import os
7
7
import sys
8
8
9
- import lit .run
10
9
from lit .TestingConfig import TestingConfig
11
10
from lit import LitConfig , Test
12
11
Original file line number Diff line number Diff line change @@ -40,10 +40,9 @@ def load_keyword_parser_lit_tests():
40
40
test_path = os .path .dirname (os .path .dirname (__file__ ))
41
41
inputs = [os .path .join (test_path , 'Inputs/testrunner-custom-parsers/' )]
42
42
assert os .path .isdir (inputs [0 ])
43
- run = lit .run .Run (lit_config ,
44
- lit .discovery .find_tests_for_inputs (lit_config , inputs ))
45
- assert len (run .tests ) == 1 and "there should only be one test"
46
- TestIntegratedTestKeywordParser .inputTestCase = run .tests [0 ]
43
+ tests = lit .discovery .find_tests_for_inputs (lit_config , inputs )
44
+ assert len (tests ) == 1 and "there should only be one test"
45
+ TestIntegratedTestKeywordParser .inputTestCase = tests [0 ]
47
46
48
47
@staticmethod
49
48
def make_parsers ():
You can’t perform that action at this time.
0 commit comments