1 parent 88b11b5 commit 047db22Copy full SHA for 047db22
1 file changed
tests/run-tests
@@ -27,16 +27,17 @@ def run_tests(pyb, tests):
27
failed_tests = []
28
skipped_tests = []
29
30
- running_under_travis = os.getenv('TRAVIS') == 'true'
+ skip_tests = set()
31
32
- # Set of tests that we shouldn't run under Travis CI
33
- skip_travis_tests = set(['basics/memoryerror.py'])
+ # Some tests shouldn't be run under Travis CI
+ if os.getenv('TRAVIS') == 'true':
34
+ skip_tests.add('basics/memoryerror.py')
35
36
for test_file in tests:
37
test_basename = os.path.basename(test_file)
38
test_name = os.path.splitext(test_basename)[0]
39
- if running_under_travis and test_file in skip_travis_tests:
40
+ if test_file in skip_tests:
41
print("skip ", test_file)
42
skipped_tests.append(test_name)
43
continue
0 commit comments