mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
test_sys: Remove workaround #8611
It looks like it is no more needed: Python 3.2 is slowly able to support non-ascii paths with an ascii locale.
This commit is contained in:
parent
052a04d34a
commit
d24fc5d7c4
2 changed files with 0 additions and 11 deletions
|
@ -1327,11 +1327,3 @@ def strip_python_stderr(stderr):
|
|||
"""
|
||||
stderr = re.sub(br"\[\d+ refs\]\r?\n?$", b"", stderr).strip()
|
||||
return stderr
|
||||
|
||||
def workaroundIssue8611():
|
||||
try:
|
||||
sys.executable.encode('ascii')
|
||||
except UnicodeEncodeError:
|
||||
raise unittest.SkipTest(
|
||||
"Issue #8611: Python doesn't support ascii locale encoding "
|
||||
"with an non-ascii path")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue