Skip to content

Commit

Permalink
python.pkgs.httpretty: disable flaky test suite
Browse files Browse the repository at this point in the history
There are some tests that fail occasionally because the current date
(with second precision) occurs in the output. This is fixed upstream.
I've made this conditional since python updates are often done in an
automated fashion and tests should be re-enabled after the next update.
This avoids the need for human intervention (except for a clean up at
some point in the future).
  • Loading branch information
timokau authored and Jon committed Mar 18, 2020
1 parent 4da3077 commit 3757e02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/httpretty/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ buildPythonPackage rec {
pname = "httpretty";
version = "0.9.7";

# drop this for version > 0.9.7
# Flaky tests: https://github.com/gabrielfalcao/HTTPretty/pull/394
doCheck = stdenv.lib.versionAtLeast version "0.9.8";

src = fetchPypi {
inherit pname version;
sha256 = "66216f26b9d2c52e81808f3e674a6fb65d4bf719721394a1a9be926177e55fbe";
Expand Down

0 comments on commit 3757e02

Please sign in to comment.