python3Packages.pympler: disable failing test

+10 -3
+10 -3
pkgs/development/python-modules/pympler/default.nix
··· 1 1 { lib, stdenv 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , pytestCheckHook 4 5 }: 5 6 6 7 buildPythonPackage rec { ··· 12 13 sha256 = "993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa"; 13 14 }; 14 15 15 - postPatch = '' 16 - rm test/asizeof/test_asizeof.py 17 - ''; 16 + checkInputs = [ 17 + pytestCheckHook 18 + ]; 19 + 20 + disabledTests = [ 21 + # 'AssertionError: 'function (test.muppy.test_summary.func)' != 'function (muppy.test_summary.func)' 22 + # https://github.com/pympler/pympler/issues/134 23 + "test_repr_function" 24 + ]; 18 25 19 26 doCheck = stdenv.hostPlatform.isLinux; 20 27