diff --git a/pkgs/development/python-modules/construct-typing/default.nix b/pkgs/development/python-modules/construct-typing/default.nix index 2d5ecf5dde58..7253c51d6978 100644 --- a/pkgs/development/python-modules/construct-typing/default.nix +++ b/pkgs/development/python-modules/construct-typing/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, setuptools, + pythonAtLeast, construct, typing-extensions, arrow, @@ -46,11 +47,17 @@ buildPythonPackage rec { ruamel-yaml ]; - disabledTests = [ - # tests fail with construct>=2.10.70 - "test_bitsinteger" - "test_bytesinteger" - ]; + disabledTests = + [ + # tests fail with construct>=2.10.70 + "test_bitsinteger" + "test_bytesinteger" + ] + ++ lib.optionals (pythonAtLeast "3.13") [ + # https://github.com/timrid/construct-typing/issues/31 + "test_tenum_docstring" + "test_tenum_flags_docstring" + ]; meta = { changelog = "https://github.com/timrid/construct-typing/releases/tag/v${version}";