Skip to content

Commit 36708ed

Browse files
committed
Do not run debian tests on Py2 #2058
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 3e78dbb commit 36708ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/packagedcode/test_debian_copyright.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ def build_tests(test_dir, clazz, prefix='test_', regen=False):
9898
"""
9999
test_data_dir = path.join(path.dirname(__file__), 'data')
100100
test_dir_loc = path.join(test_data_dir, test_dir)
101+
if py2:
102+
return
101103

102104
# loop through all items and attach a test method to our test class
103105
for test_file in relative_walk(test_dir_loc):

0 commit comments

Comments
 (0)