pythonPackages.pecan: remove superfluous patch

This commit is contained in:
Robert Schütz 2018-02-08 15:07:05 +01:00
parent 6bc889205a
commit f4ff322d72
2 changed files with 0 additions and 18 deletions

View File

@ -15,14 +15,9 @@
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pecan";
version = "1.3.2";
patches = [
./python36_test_fix.patch
];
src = fetchPypi {
inherit pname version;
sha256 = "24f06cf88a488b75f433e62b33c1c97e4575d0cd91eec9eec841a81cecfd6de3";

View File

@ -1,13 +0,0 @@
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(