pythonPackages.pyfakefs: fix darwin build
One test failed on darwin due to case-insensitive file system, disable it.
This commit is contained in:
parent
bc036397a3
commit
bd02a1931a
@ -22,7 +22,11 @@ buildPythonPackage rec {
|
|||||||
--replace "test_append_mode_tell_linux_windows" "notest_append_mode_tell_linux_windows"
|
--replace "test_append_mode_tell_linux_windows" "notest_append_mode_tell_linux_windows"
|
||||||
substituteInPlace pyfakefs/tests/fake_filesystem_unittest_test.py \
|
substituteInPlace pyfakefs/tests/fake_filesystem_unittest_test.py \
|
||||||
--replace "test_copy_real_file" "notest_copy_real_file"
|
--replace "test_copy_real_file" "notest_copy_real_file"
|
||||||
'';
|
'' + (stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
# this test fails on darwin due to case-insensitive file system
|
||||||
|
substituteInPlace pyfakefs/tests/fake_os_test.py \
|
||||||
|
--replace "test_rename_dir_to_existing_dir" "notest_rename_dir_to_existing_dir"
|
||||||
|
'');
|
||||||
|
|
||||||
checkInputs = [ pytest glibcLocales ];
|
checkInputs = [ pytest glibcLocales ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user