1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/python-modules/pecan/python36_test_fix.patch
2017-08-09 14:51:01 +02:00

14 lines
508 B
Diff

diff --git a/pecan/tests/test_conf.py b/pecan/tests/test_conf.py
index 0573d84..7c98e16 100644
--- a/pecan/tests/test_conf.py
+++ b/pecan/tests/test_conf.py
@@ -157,7 +157,7 @@ class TestConf(PecanTestCase):
try:
configuration.conf_from_file(f.name)
- except (ValueError, SystemError) as e:
+ except (ValueError, SystemError, ImportError) as e:
assert 'relative import' in str(e)
else:
raise AssertionError(