aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/check.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 855480d6db..248d1c4231 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1376,6 +1376,28 @@ syntax validation, ...
for every Python test framework. It supports nose, py.test, and unittest.")
(license license:bsd-2)))
+(define-public python-parameterized-next
+ (package
+ (inherit python-parameterized)
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "parameterized" version))
+ (sha256
+ (base32 "1c89vc40zj5aj2zvbvw875wqpyf0x6xrqhm3q5jg797g5hkhbjbz"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (substitute* "parameterized/test.py"
+ (("import mock") "from unittest import mock"))
+ (invoke "python3" "-m" "unittest")))))))
+ (native-inputs (list python-jinja2))))
+
(define-public python-minimock
(package
(name "python-minimock")
sg-tooltip'>This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès 2021-11-17Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-11-16gnu: fennel: Update to 1.0.0....* gnu/packages/lua.scm (fennel): Update to 1.0.0. [origin]: Remove unneeded snippet. [arguments]: Remove custom 'patch-lua-calls, 'install-manpage phases. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> jgart 2021-11-14gnu: fmt: Update to 8.0.1....* gnu/packages/pretty-print.scm (fmt): Update to 8.0.1, (fmt-7): New variable. * gnu/packages/astronomy.scm (celestia)[inputs], gnu/packages/kodi.scm (kodi)[inputs], gnu/packages/lua.scm (emilua)[inputs]: Change to fmt-7. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan