Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
b4724ffe
Commit
b4724ffe
authored
Dec 01, 2015
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try setting LC_CTYPE also
parent
2e46cd7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
.travis.yml
.travis.yml
+1
-1
setuptools/tests/test_sdist.py
setuptools/tests/test_sdist.py
+2
-6
No files found.
.travis.yml
View file @
b4724ffe
...
...
@@ -8,7 +8,7 @@ python:
-
pypy
env
:
-
"
"
-
LC_ALL=C
-
LC_ALL=C
LC_CTYPE=C
script
:
# avoid VersionConflict when newer version is required
-
pip install -U pytest
...
...
setuptools/tests/test_sdist.py
View file @
b4724ffe
# -*- coding: utf-8 -*-
"""sdist tests"""
import
locale
import
os
import
shutil
import
sys
...
...
@@ -9,14 +8,12 @@ import tempfile
import
unicodedata
import
contextlib
import
pytest
import
pkg_resources
from
setuptools.compat
import
StringIO
,
unicode
,
PY3
,
PY2
from
setuptools.command.sdist
import
sdist
from
setuptools.command.egg_info
import
manifest_maker
from
setuptools.dist
import
Distribution
from
setuptools.tests
import
fail_on_ascii
,
is_ascii
from
setuptools.tests
import
fail_on_ascii
SETUP_ATTRS
=
{
...
...
@@ -149,10 +146,9 @@ class TestSdistTest:
assert
'setup.py'
not
in
manifest
,
manifest
assert
'setup.cfg'
not
in
manifest
,
manifest
@
pytest
.
mark
.
xfail
(
is_ascii
,
reason
=
"Test fails in this locale"
)
@
fail_on_ascii
def
test_manifest_is_written_with_utf8_encoding
(
self
):
# Test for #303.
assert
not
is_ascii
dist
=
Distribution
(
SETUP_ATTRS
)
dist
.
script_name
=
'setup.py'
mm
=
manifest_maker
(
dist
)
...
...
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