git.iko.soy/typeable/nixpkgs
on master help sign in
pytest: disable tests on pypy

Bug in tests. See https://github.com/pytest-dev/pytest/issues/3460

commitb9ea613f436588eae942b2986381e9766e682958 authorleo60228 <iakornfeld@gmail.com> dateThu 10 Jan 2019, 14:08 (8 years ago) parent25a77b7
1 file changed+2−1
pkgs/development/python-modules/pytest/default.nix+2−1
pkgs/development/python-modules/pytest/default.nix+2−1
@@ -1,6 +1,6 @@
11{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, attrs, hypothesis, py
22, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
3−, atomicwrites, mock, writeText, pathlib2, wcwidth, packaging
3+, atomicwrites, mock, writeText, pathlib2, wcwidth, packaging, isPyPy
44}:
55buildPythonPackage rec {
66 version = "4.6.3";
@@ -22,6 +22,7 @@ buildPythonPackage rec {
2222 ++ stdenv.lib.optionals (!isPy3k) [ funcsigs ]
2323 ++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
2424
25+ doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460
2526 checkPhase = ''
2627 runHook preCheck
2728 $out/bin/py.test -x testing/ -k "not test_collect_pyargs_with_testpaths"