diff --git a/pkgs/development/python-modules/sgmllib3k/default.nix b/pkgs/development/python-modules/sgmllib3k/default.nix index 9fa707ea0efc..3d488ca98eb0 100644 --- a/pkgs/development/python-modules/sgmllib3k/default.nix +++ b/pkgs/development/python-modules/sgmllib3k/default.nix @@ -4,7 +4,6 @@ fetchPypi, isPy27, pytestCheckHook, - pythonAtLeast, }: buildPythonPackage rec { @@ -21,7 +20,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; - disabledTests = lib.optionals (pythonAtLeast "3.10") [ "test_declaration_junk_chars" ]; + disabledTests = [ "test_declaration_junk_chars" ]; doCheck = false;