python3Packages.fastjsonschema: fix Darwin build

Test was failing on hydra build, with this error:
```
ModuleNotFoundError: No module named 'temp.schema_3'

tests/test_compile_to_code.py:95: ModuleNotFoundError
```
This commit is contained in:
Drew Risinger 2022-05-13 10:03:46 -04:00
parent 252d5293da
commit 28fe7ec76c

View File

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
@ -31,6 +32,8 @@ buildPythonPackage rec {
# these tests require network access # these tests require network access
"remote ref" "remote ref"
"definitions" "definitions"
] ++ lib.optionals stdenv.isDarwin [
"test_compile_to_code_custom_format" # cannot import temporary module created during test
]; ];
pythonImportsCheck = [ pythonImportsCheck = [