blob 52f6a5d5179a589190c1ba8a94bcb8825f02ca92 388 bytes (raw)
name: gnu/packages/patches/csvkit-set-locale-for-tests.patch # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
| | Contents copied from python-agate. See
https://github.com/wireservice/agate/issues/712 for the source and the
rationale.
diff --git a/tests/__init__.py b/tests/__init__.py
index e69de29..ee8beb5 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -0,0 +1,4 @@
+import locale
+
+# The test fixtures can break if the locale is non-US.
+locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
|
debug log:
solving 52f6a5d517 ...
found 52f6a5d517 in https://yhetil.org/guix-patches/7c73aa954dc114f107c1159659c847d9c61d4788.1735205925.git.wz@freeshell.de/
applying [1/1] https://yhetil.org/guix-patches/7c73aa954dc114f107c1159659c847d9c61d4788.1735205925.git.wz@freeshell.de/
diff --git a/gnu/packages/patches/csvkit-set-locale-for-tests.patch b/gnu/packages/patches/csvkit-set-locale-for-tests.patch
new file mode 100644
index 0000000000..52f6a5d517
Checking patch gnu/packages/patches/csvkit-set-locale-for-tests.patch...
Applied patch gnu/packages/patches/csvkit-set-locale-for-tests.patch cleanly.
index at:
100644 52f6a5d5179a589190c1ba8a94bcb8825f02ca92 gnu/packages/patches/csvkit-set-locale-for-tests.patch
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).