1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 12:12:34 +01:00

fix test_results for empty sets

{} is an empty dict and doesn't support set operations
This commit is contained in:
Mike Fährmann 2018-04-29 22:37:13 +02:00
parent 16e014baaa
commit 3fe653d940
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -143,9 +143,9 @@ def generate_tests():
fltr = lambda c, bc: c in argv or bc in argv # noqa: E731
del sys.argv[1:]
else:
skip = BROKEN.copy()
skip = set(BROKEN)
if "CI" in os.environ and "TRAVIS" in os.environ:
skip |= TRAVIS_SKIP
skip |= set(TRAVIS_SKIP)
print("skipping:", ", ".join(skip))
fltr = lambda c, bc: c not in skip # noqa: E731