From 47cc7f35c8592845e69fbf17e7a6faa718bdefe9 Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Sat, 4 Aug 2018 07:19:31 +0200 Subject: Fixed test --- src/tests/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/test.py') diff --git a/src/tests/test.py b/src/tests/test.py index 69bf327..3c4dcd1 100644 --- a/src/tests/test.py +++ b/src/tests/test.py @@ -14,7 +14,7 @@ except AttributeError: from decorator import dispatch_on, contextmanager, decorator try: from . import documentation as doc -except ValueError: +except (ImportError, ValueError, SystemError): # depending on the py-version import documentation as doc -- cgit v1.2.1