Skip to content

Commit

Permalink
python3Packages.notebook: disable networking tests on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer committed Dec 4, 2021
1 parent b37d18e commit 3f99620
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/notebook/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ buildPythonPackage rec {
"test_checkpoints_follow_file"
];

disabledTestPaths = lib.optionals stdenv.isDarwin [
# requires local networking
"notebook/auth/tests/test_login.py"
"notebook/bundler/tests/test_bundler_api.py"
];

# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;

Expand Down

0 comments on commit 3f99620

Please sign in to comment.