mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
3050f81301
commit
2c7ee93beb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user