diff options
author | Robert Schütz <nix@dotlambda.de> | 2021-11-22 13:07:34 -0800 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2021-11-22 14:36:57 -0800 |
commit | 49cf63ccc9e6a9c27737f060c9ecf97075e610dd (patch) | |
tree | bbf65a58aa563d23bbe92049e389cdd56b355bdc /pkgs/development/python-modules/html5lib | |
parent | 28e1b1a50a22fd6f155a10fb8e0d50b126774890 (diff) |
python3Packages.html5lib: use pytestCheckHook
Diffstat (limited to 'pkgs/development/python-modules/html5lib')
-rw-r--r-- | pkgs/development/python-modules/html5lib/default.nix | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/html5lib/default.nix b/pkgs/development/python-modules/html5lib/default.nix index f0abbcfbeccea..1172b01951323 100644 --- a/pkgs/development/python-modules/html5lib/default.nix +++ b/pkgs/development/python-modules/html5lib/default.nix @@ -1,12 +1,11 @@ { lib , buildPythonPackage , fetchPypi -, flake8 -, pytest_4 -, pytest-expect -, mock , six , webencodings +, mock +, pytest-expect +, pytestCheckHook_5 }: buildPythonPackage rec { @@ -18,17 +17,16 @@ buildPythonPackage rec { sha256 = "b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f"; }; - checkInputs = [ flake8 pytest_4 pytest-expect mock ]; propagatedBuildInputs = [ - six webencodings + six + webencodings ]; - checkPhase = '' - # remove test causing error - # https://github.com/html5lib/html5lib-python/issues/411 - rm html5lib/tests/test_stream.py - py.test - ''; + checkInputs = [ + mock + pytest-expect + pytestCheckHook_5 + ]; meta = { homepage = "https://github.com/html5lib/html5lib-python"; |