Skip to content

Commit 73c30b6

Browse files
committedNov 20, 2017
hupper: fix tests on Darwin
1 parent d5dceef commit 73c30b6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎pkgs/development/python-modules/hupper/default.nix

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ buildPythonPackage, fetchPypi, python
1+
{ stdenv, buildPythonPackage, fetchPypi, python
22
, pytest, pytestcov, watchdog, mock
33
}:
44

@@ -16,5 +16,7 @@ buildPythonPackage rec {
1616
py.test
1717
'';
1818

19-
checkInputs = [ pytest pytestcov watchdog mock ];
19+
# FIXME: watchdog dependency is disabled on Darwin because of #31865, which causes very silent
20+
# segfaults in the testsuite that end up failing the tests in a background thread (in myapp)
21+
checkInputs = [ pytest pytestcov mock ] ++ stdenv.lib.optional (!stdenv.isDarwin) watchdog;
2022
}

0 commit comments

Comments
 (0)
Please sign in to comment.