Skip to content

Commit 0b7d5e9

Browse files
committed
Simplified paths and usage of passing test paths
1 parent 1ce4895 commit 0b7d5e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/runtest/external_tests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import TestRuntest
3636

3737
test = TestRuntest.TestRuntest()
38-
test.subdir('ext', ['ext', 'test'], ['ext', 'test', 'subdir'])
38+
test.subdir('ext/test/subdir')
3939

4040
pythonstring = TestRuntest.pythonstring
4141
pythonflags = TestRuntest.pythonflags
@@ -44,9 +44,9 @@
4444
two = os.path.join('ext', 'test', 'subdir', 'two.py')
4545
three = os.path.join('ext', 'test', 'test_three.py')
4646

47-
test.write_passing_test(['ext', 'test', 'subdir', 'test_one.py'])
48-
test.write_passing_test(['ext', 'test', 'subdir', 'two.py'])
49-
test.write_passing_test(['ext', 'test', 'test_three.py'])
47+
test.write_passing_test(one)
48+
test.write_passing_test(two)
49+
test.write_passing_test(three)
5050

5151
expect_stderr_noarg = """\
5252
usage: runtest.py [OPTIONS] [TEST ...]

0 commit comments

Comments
 (0)