mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python.pkgs.zope_testrunner: upstream patch for tests
Upstream patch [1] does not apply because the file extension is different since [2]. [1] https://github.com/zopefoundation/zope.testrunner/pull/66 [2]666b71ecbf(cherry picked from commit7df6853920) We do run into this flaky test relatively often on Hydra for 17.09, too.
This commit is contained in:
committed by
Vladimír Čunát
parent
427756cca1
commit
ea7e19fd53
@@ -20,6 +20,8 @@ buildPythonPackage rec {
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
patches = [ ./test-selection.patch ];
|
||||
|
||||
propagatedBuildInputs = [ zope_interface zope_exceptions zope_testing six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
--- a/src/zope/testrunner/tests/testrunner-test-selection.txt
|
||||
+++ b/src/zope/testrunner/tests/testrunner-test-selection.txt
|
||||
@@ -235 +235 @@ and by test within the module using the --test (-t) option:
|
||||
- >>> sys.argv = 'test -u -vv -ssample1 -m_one -mtest1 -tx0 -ty0'.split()
|
||||
+ >>> sys.argv = 'test -u -vv -ssample1 -m_one -mtest1 -t_x0 -t_y0'.split()
|
||||
Reference in New Issue
Block a user