diff options
author | Gabriel Ebner <gebner@gebner.org> | 2020-09-12 21:47:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 21:47:54 +0200 |
commit | dfef3ec138723d8cafd3c9b1a94c97a46857ccc8 (patch) | |
tree | 0ae0e700c2c791596069efdfad0531914b3af935 | |
parent | 5f83bf30120d671f0502bc6a0ecc93fd809c314b (diff) | |
parent | b5fcd79c3f97f1fae6f73979db41be719237a7e9 (diff) | |
download | nixpkgs-dfef3ec138723d8cafd3c9b1a94c97a46857ccc8.tar nixpkgs-dfef3ec138723d8cafd3c9b1a94c97a46857ccc8.tar.gz nixpkgs-dfef3ec138723d8cafd3c9b1a94c97a46857ccc8.tar.bz2 nixpkgs-dfef3ec138723d8cafd3c9b1a94c97a46857ccc8.tar.lz nixpkgs-dfef3ec138723d8cafd3c9b1a94c97a46857ccc8.tar.xz nixpkgs-dfef3ec138723d8cafd3c9b1a94c97a46857ccc8.tar.zst nixpkgs-dfef3ec138723d8cafd3c9b1a94c97a46857ccc8.zip |
Merge pull request #97850 from gebner/python-websockets-tests
-rw-r--r-- | pkgs/development/python-modules/websockets/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/websockets/default.nix b/pkgs/development/python-modules/websockets/default.nix index 1e1e1ef58a8..eeb12bd5b75 100644 --- a/pkgs/development/python-modules/websockets/default.nix +++ b/pkgs/development/python-modules/websockets/default.nix @@ -22,6 +22,13 @@ buildPythonPackage rec { # Tests fail on Darwin with `OSError: AF_UNIX path too long` doCheck = !stdenv.isDarwin; + # Disable all tests that need to terminate within a predetermined amount of + # time. This is nondeterministic. + patchPhase = '' + sed -i 's/with self.assertCompletesWithin.*:/if True:/' \ + tests/test_protocol.py + ''; + meta = with lib; { description = "WebSocket implementation in Python 3"; homepage = "https://github.com/aaugustin/websockets"; |