From 82d1330c1c051fe4a92b1df2e546791f40cdc29c Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Wed, 29 May 2019 14:31:28 -0700 Subject: pythonPackages.curio: patch tests --- pkgs/development/python-modules/curio/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/development/python-modules/curio') diff --git a/pkgs/development/python-modules/curio/default.nix b/pkgs/development/python-modules/curio/default.nix index 65d225dc377d..b60025a91b03 100644 --- a/pkgs/development/python-modules/curio/default.nix +++ b/pkgs/development/python-modules/curio/default.nix @@ -22,6 +22,8 @@ buildPythonPackage rec { # test_aside_basic times out, # test_aside_cancel fails because modifies PYTHONPATH and cant find pytest checkPhase = '' + # __pycache__ was packaged accidentally, https://github.com/dabeaz/curio/issues/301 + rm -r tests/__pycache__ pytest --deselect tests/test_task.py::test_aside_basic --deselect tests/test_task.py::test_aside_cancel ''; -- cgit 1.4.1