python3Packages.pyfakefs: disable tests for python3.7

the glob mocks seem to be unable to handle compile_pattern
This commit is contained in:
Jonathan Ringer 2019-12-20 22:09:43 -08:00 committed by Frederik Rietdijk
parent e1bb62f9bc
commit 9b86ffa46a

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, python, pytest, glibcLocales }:
{ stdenv, buildPythonPackage, fetchPypi, python, pytest, glibcLocales, isPy37 }:
buildPythonPackage rec {
version = "3.7";
@ -24,6 +24,8 @@ buildPythonPackage rec {
--replace "test_rename_dir_to_existing_dir" "notest_rename_dir_to_existing_dir"
'');
# https://github.com/jmcgeheeiv/pyfakefs/issues/508
doCheck = !isPy37;
checkInputs = [ pytest glibcLocales ];
checkPhase = ''