python3Packages.pympler: disable failing test

This commit is contained in:
Martin Weinelt 2022-04-01 06:11:10 +02:00
parent 9628bac854
commit dc9fdf545c

View file

@ -1,6 +1,7 @@
{ lib, stdenv
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
@ -12,9 +13,15 @@ buildPythonPackage rec {
sha256 = "993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa";
};
postPatch = ''
rm test/asizeof/test_asizeof.py
'';
checkInputs = [
pytestCheckHook
];
disabledTests = [
# 'AssertionError: 'function (test.muppy.test_summary.func)' != 'function (muppy.test_summary.func)'
# https://github.com/pympler/pympler/issues/134
"test_repr_function"
];
doCheck = stdenv.hostPlatform.isLinux;