1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

Merge pull request #34736 from dotlambda/pecan

pythonPackages.pecan: remove superfluous patch
This commit is contained in:
Frederik Rietdijk 2018-02-08 14:16:18 +00:00 committed by GitHub
commit ec506fdfbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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(