1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-17 06:24:07 +02:00

gnu: python-google-pasta: Fix tests.

* gnu/packages/python-xyz.scm (python-google-pasta)[arguments]: Add phase
'fix-tests to patch procedure name.

Change-Id: Id85b61cc827269b7c38dc1159b197d2de8dd37d9
This commit is contained in:
Ricardo Wurmus
2026-05-26 20:51:44 +02:00
parent b433486c7d
commit bfc2d9c69b
+8
View File
@@ -17627,6 +17627,14 @@ should be stored on various operating systems.")
(sha256
(base32 "0vm1r1jlaiagj0l9yf7j6zn9w3733dr2169911c0svgrr3gwiwn9"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
(lambda _
(substitute* "pasta/augment/inline_test.py"
(("assertRaisesRegexp") "assertRaisesRegex")))))))
(propagated-inputs (list python-six))
(native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/google/pasta")