3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/fsspec
Thibault Gagnaux 5380555efb python3Packages.fsspec: fix tests on linux
Hydra fails with a `DirectoryError: [Errno 21] Is a directory: '/build/source/fsspec/tests/__pycache__'`.
I suspect that both drvs `python37Packages.fsspec` and `python38Packages.fsspec` share the same folder
`'/build/source/fsspec/tests/__pycache__'` which leads to problems. To fix it I just let each drvs run in a
tmp directory using `pytestFlagsArray = [ "--rootdir=$(mktemp -d)" ];`.
2020-09-30 11:02:47 -07:00
..
default.nix python3Packages.fsspec: fix tests on linux 2020-09-30 11:02:47 -07:00