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:
commit
ec506fdfbc
|
@ -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";
|
||||
|
|
|
@ -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 a new issue