Prevent failures from non-existing dependencies
Our blacklist contains modules that are not a (transitive) dependency of
Pynguin.  To prevent the tests from failing, we skip them during the
test execution.
@@ -244,7 +244,12 @@ def test_nothing_from_blacklist():
def test_blacklist_is_valid():
# Naive test without assert, checks if the module names are valid.
+ allowed_to_fail = ("six",)
for item in MODULE_BLACKLIST:
+ if item in allowed_to_fail:
+ # We have modules in our blacklist that are not a dependency of Pynguin,
+ # thus the import might fail.
+ continue
importlib.import_module(item)
