Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f8948ca5
Commit
f8948ca5
authored
Sep 19, 2005
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skip _locale test if OS X < 10.4
parent
4ed67387
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
Lib/test/test__locale.py
Lib/test/test__locale.py
+6
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test__locale.py
View file @
f8948ca5
...
...
@@ -2,6 +2,12 @@ from test.test_support import verbose, TestSkipped, run_unittest
from
_locale
import
(
setlocale
,
LC_NUMERIC
,
RADIXCHAR
,
THOUSEP
,
nl_langinfo
,
localeconv
,
Error
)
import
unittest
from
platform
import
uname
if
uname
()[
0
]
==
"Darwin"
:
maj
,
min
,
mic
=
[
int
(
part
)
for
part
in
uname
()[
2
].
split
(
"."
)]
if
(
maj
,
min
,
mic
)
<
(
8
,
0
,
0
):
raise
TestSkipped
(
"locale support broken for OS X < 10.4"
)
candidate_locales
=
[
'es_UY'
,
'fr_FR'
,
'fi_FI'
,
'es_CO'
,
'pt_PT'
,
'it_IT'
,
'et_EE'
,
'es_PY'
,
'no_NO'
,
'nl_NL'
,
'lv_LV'
,
'el_GR'
,
'be_BY'
,
'fr_BE'
,
...
...
Misc/NEWS
View file @
f8948ca5
...
...
@@ -12,6 +12,9 @@ What's New in Python 2.5 alpha 1?
Core and builtins
-----------------
- test__locale is skipped on OS X < 10.4 (only partial locale support is
present).
- SF bug #893549: parsing keyword arguments was broken with a few format
codes.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment