Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 508 B view raw
1diff --git a/pecan/tests/test_conf.py b/pecan/tests/test_conf.py 2index 0573d84..7c98e16 100644 3--- a/pecan/tests/test_conf.py 4+++ b/pecan/tests/test_conf.py 5@@ -157,7 +157,7 @@ class TestConf(PecanTestCase): 6 7 try: 8 configuration.conf_from_file(f.name) 9- except (ValueError, SystemError) as e: 10+ except (ValueError, SystemError, ImportError) as e: 11 assert 'relative import' in str(e) 12 else: 13 raise AssertionError(