python3Packages.fsspec: fix tests on linux
Disables flaky test. Has been resolved in https://github.com/intake/filesystem_spec/issues/432 and can thus be enabled again starting from version `0.8.4`.
This commit is contained in:
parent
748871ad42
commit
0a9641b3bb
1 changed files with 5 additions and 2 deletions
|
@ -24,12 +24,15 @@ buildPythonPackage rec {
|
||||||
numpy
|
numpy
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [ "--rootdir=$(mktemp -d)" ];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Test assumes user name is part of $HOME
|
# Test assumes user name is part of $HOME
|
||||||
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
|
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
|
||||||
"test_strip_protocol_expanduser"
|
"test_strip_protocol_expanduser"
|
||||||
|
# flaky: works locally but fails on hydra
|
||||||
|
# as it uses the install dir for tests instead of a temp dir
|
||||||
|
# resolved in https://github.com/intake/filesystem_spec/issues/432 and
|
||||||
|
# can be enabled again from version 0.8.4
|
||||||
|
"test_pathobject"
|
||||||
] ++ lib.optionals (stdenv.isDarwin) [
|
] ++ lib.optionals (stdenv.isDarwin) [
|
||||||
# works locally on APFS, fails on hydra with AssertionError comparing timestamps
|
# works locally on APFS, fails on hydra with AssertionError comparing timestamps
|
||||||
# darwin hydra builder uses HFS+ and has only one second timestamp resolution
|
# darwin hydra builder uses HFS+ and has only one second timestamp resolution
|
||||||
|
|
Loading…
Reference in a new issue