diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index dc9cafa3cb05..b1195277b727 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5058,6 +5058,13 @@ in { buildInputs = with self; [ pytest ]; propagatedBuildInputs = with self; [ pytestcache pep8 ]; + checkPhase = '' + py.test + ''; + + # Fails + doCheck = false; + meta = { license = licenses.mit; website = "https://pypi.python.org/pypi/pytest-pep8";