diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 322e6f93be..f456824021 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25600,14 +25600,7 @@ executed more than a given number of times during a given period.") (build-system pyproject-build-system) (arguments (list - #:test-flags #~(list "--pyargs" "rbfly") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'fix-pytest-config - (lambda _ - ;; Drop test coverage requirements. - (substitute* "pyproject.toml" - ((".*addopts.*") ""))))))) + #:test-flags #~(list "-o" "addopts=''" "--pyargs" "rbfly"))) (native-inputs (list python-cython python-pytest