Merge pull request #62232 from jonringer/fix_curio

pythonPackages.curio: patch tests
This commit is contained in:
Mario Rodas 2019-05-29 22:04:16 -05:00 committed by GitHub
commit de3ba6b9a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
'';