pythonPackages.pecan: remove superfluous patch
This commit is contained in:
parent
6bc889205a
commit
f4ff322d72
@ -15,14 +15,9 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "pecan";
|
pname = "pecan";
|
||||||
version = "1.3.2";
|
version = "1.3.2";
|
||||||
|
|
||||||
patches = [
|
|
||||||
./python36_test_fix.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "24f06cf88a488b75f433e62b33c1c97e4575d0cd91eec9eec841a81cecfd6de3";
|
sha256 = "24f06cf88a488b75f433e62b33c1c97e4575d0cd91eec9eec841a81cecfd6de3";
|
||||||
|
@ -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(
|
|
Loading…
Reference in New Issue
Block a user