summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-03-31 11:01:46 (GMT)
committerGitHub <noreply@github.com>2021-03-31 11:01:46 (GMT)
commitf3ab670fea75ebe177e3412a5ebe39263cd428e3 (patch)
tree45943a7d336b17ad86384b7c54c059d0cb210853 /Misc
parent027d2cf1e5e2512888340b4cd5d2f1b5a3e8af94 (diff)
downloadcpython-f3ab670fea75ebe177e3412a5ebe39263cd428e3.zip
cpython-f3ab670fea75ebe177e3412a5ebe39263cd428e3.tar.gz
cpython-f3ab670fea75ebe177e3412a5ebe39263cd428e3.tar.bz2
bpo-37945: Fix test_locale.test_getsetlocale_issue1813() (#25110)
Skip the test if setlocale() fails.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2021-03-31-11-38-42.bpo-37945.HTUYhv.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2021-03-31-11-38-42.bpo-37945.HTUYhv.rst b/Misc/NEWS.d/next/Tests/2021-03-31-11-38-42.bpo-37945.HTUYhv.rst
new file mode 100644
index 0000000..e1c95f6
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2021-03-31-11-38-42.bpo-37945.HTUYhv.rst
@@ -0,0 +1,2 @@
+Fix test_getsetlocale_issue1813() of test_locale: skip the test if
+``setlocale()`` fails. Patch by Victor Stinner.