diff --git a/selftests/cyclical_deps b/selftests/cyclical_deps index 40c70d9128618b64d4c453bfc327da61a25e7c82..88ea364aa41f2cd65d33c5f932304a21b3edc682 100755 --- a/selftests/cyclical_deps +++ b/selftests/cyclical_deps @@ -18,6 +18,14 @@ import sys import subprocess import tempfile +# it doesn't make sense to go any further on Python 3 because snakefood +# won't be available anyway. it's not fair to say this check failed, so +# let's exit successfully. the check should be performend when running +# on Python 2. +if sys.version_info[0] == 3: + sys.exit(0) + + try: import networkx as nx except ImportError: