about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-toolbox
diff options
context:
space:
mode:
authorRobert T. McGibbon <rmcgibbo@gmail.com>2021-05-09 11:35:38 -0400
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-10 00:10:37 -0700
commit9622485d70a52f32a10972d0b913bfc99e6fe440 (patch)
tree172fe260cf3759e860ce5135ac4e83451cbd17bd /pkgs/development/python-modules/python-toolbox
parent7209ede743cea82096696525acae32babba20748 (diff)
python39Packages.python-toolbox: unbreak
Diffstat (limited to 'pkgs/development/python-modules/python-toolbox')
-rw-r--r--pkgs/development/python-modules/python-toolbox/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/python-toolbox/default.nix b/pkgs/development/python-modules/python-toolbox/default.nix
index bdf09fdf2c79f..a310736c74923 100644
--- a/pkgs/development/python-modules/python-toolbox/default.nix
+++ b/pkgs/development/python-modules/python-toolbox/default.nix
@@ -3,8 +3,7 @@
 , docutils
 , fetchFromGitHub
 , isPy27
-, nose
-, pytest
+, pytestCheckHook
 }:
 
 buildPythonPackage rec {
@@ -21,7 +20,13 @@ buildPythonPackage rec {
 
   checkInputs = [
     docutils
-    pytest
+    pytestCheckHook
+  ];
+
+  disabledTestPaths = [
+    # file imports 'dummy_threading', which was deprecated since py37
+    # and removed in py39
+    "test_python_toolbox/test_cute_profile/test_cute_profile.py"
   ];
 
   meta = with lib; {