summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-10-25 00:18:22 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2019-10-27 16:26:56 +0100
commit4e5fa8d6d3b0a0b08505ca2e1586f820048549a4 (patch)
tree15b1a170fd92908fe990c81fb4581153ad09fd3b
parenta4fc8c4b938f7ec88d6f2ecee3338bf8b5c351bc (diff)
downloadnixpkgs-4e5fa8d6d3b0a0b08505ca2e1586f820048549a4.tar
nixpkgs-4e5fa8d6d3b0a0b08505ca2e1586f820048549a4.tar.gz
nixpkgs-4e5fa8d6d3b0a0b08505ca2e1586f820048549a4.tar.bz2
nixpkgs-4e5fa8d6d3b0a0b08505ca2e1586f820048549a4.tar.lz
nixpkgs-4e5fa8d6d3b0a0b08505ca2e1586f820048549a4.tar.xz
nixpkgs-4e5fa8d6d3b0a0b08505ca2e1586f820048549a4.tar.zst
nixpkgs-4e5fa8d6d3b0a0b08505ca2e1586f820048549a4.zip
pythonPackages.trio: fix tests
-rw-r--r--pkgs/development/python-modules/trio/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/trio/default.nix b/pkgs/development/python-modules/trio/default.nix
index 2c64e12e904..458a580a170 100644
--- a/pkgs/development/python-modules/trio/default.nix
+++ b/pkgs/development/python-modules/trio/default.nix
@@ -29,8 +29,13 @@ buildPythonPackage rec {
   checkInputs = [ astor pytest pyopenssl trustme jedi pylint yapf ];
   # It appears that the build sandbox doesn't include /etc/services, and these tests try to use it.
   checkPhase = ''
-    HOME="$(mktemp -d)" py.test -k 'not test_getnameinfo and not test_SocketType_resolve and not test_getprotobyname and not test_waitpid'
+    HOME=$TMPDIR py.test -k 'not getnameinfo \
+                             and not SocketType_resolve \
+                             and not getprotobyname \
+                             and not waitpid \
+                             and not static_tool_sees_all_symbols'
   '';
+
   propagatedBuildInputs = [
     attrs
     sortedcontainers