tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.pympler: disable failing test
Martin Weinelt
3 years ago
dc9fdf54
9628bac8
+10
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pympler
default.nix
+10
-3
pkgs/development/python-modules/pympler/default.nix
···
1
{ lib, stdenv
2
, buildPythonPackage
3
, fetchPypi
0
4
}:
5
6
buildPythonPackage rec {
···
12
sha256 = "993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa";
13
};
14
15
-
postPatch = ''
16
-
rm test/asizeof/test_asizeof.py
17
-
'';
0
0
0
0
0
0
18
19
doCheck = stdenv.hostPlatform.isLinux;
20
···
1
{ lib, stdenv
2
, buildPythonPackage
3
, fetchPypi
4
+
, pytestCheckHook
5
}:
6
7
buildPythonPackage rec {
···
13
sha256 = "993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa";
14
};
15
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
+
];
25
26
doCheck = stdenv.hostPlatform.isLinux;
27