Skip to content

Commit 33d88ce

Browse files
committed
Better fix for Python 3.4 testsuite failure
1 parent 80c6b60 commit 33d88ce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

run-test-suite.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,9 +723,10 @@ def exclude_tests_below(path):
723723
exclude_test('tests/cpychecker/refcounts/uninitialized_data/function_arg')
724724
exclude_test('tests/cpychecker/refcounts/use_after_dealloc')
725725

726-
# Tests failing on Python 3.4:
727-
if sys.version_info[:2] == (3, 4):
726+
# Tests failing due to repr changes in Python 3.4+
727+
if sys.version_info[0] == 3 and sys.version_info[1] >= 4:
728728
exclude_test('tests/plugin/callgraph')
729+
exclude_test('tests/plugin/rtl')
729730

730731
def run_one_test(testdir):
731732
try:

0 commit comments

Comments
 (0)