summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-03-24 08:26:39 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-28 22:00:01 +0000
commit2c7ee93beb92f4a9d8b74b10c44cd4e0f5ef1c98 (patch)
tree9dd4651f998d4a2ec845f10a863c88bafd36df59 /gnu
parent3050f813011533ff7f8ed364bf9093110ec568f5 (diff)
gnu: python-fb-re2: Fix tests for python@3.12.
* gnu/packages/python-xyz.scm (python-fb-re2)[arguments] <#:phases>: Add phase 'fix-tests. Change-Id: I0bf9d7a7e6a5101455f4cbdec0268160667da3ea Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 84f4bcc7e4e..438895a3735 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6074,6 +6074,15 @@ commonly used storage backends.")
(base32
"0snprxdnh3m45r3b0az4v0l28h90ycmfbybzla6xg1qviwv9w1ak"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (substitute* "tests/test_match.py"
+ (("assertRaisesRegexp")
+ "assertRaisesRegex")))))))
(native-inputs
(list python-pytest python-setuptools))
(inputs