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
57a09271
Commit
57a09271
authored
Nov 11, 2017
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xfail test when byte code generation is disabled. Fixes #1193.
parent
d5f91487
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
CHANGES.rst
CHANGES.rst
+6
-0
setuptools/tests/test_bdist_egg.py
setuptools/tests/test_bdist_egg.py
+4
-0
No files found.
CHANGES.rst
View file @
57a09271
v36
.7.1
-------
*
#
1193
:
Avoid
test
failures
in
bdist_egg
when
PYTHONDONTWRITEBYTECODE
is
set
.
v36
.7.0
v36
.7.0
-------
-------
...
...
setuptools/tests/test_bdist_egg.py
View file @
57a09271
...
@@ -44,6 +44,10 @@ class Test:
...
@@ -44,6 +44,10 @@ class Test:
[
content
]
=
os
.
listdir
(
'dist'
)
[
content
]
=
os
.
listdir
(
'dist'
)
assert
re
.
match
(
r'foo-0.0.0-py[23].\
d.egg$
', content)
assert
re
.
match
(
r'foo-0.0.0-py[23].\
d.egg$
', content)
@pytest.mark.xfail(
os.environ.get('
PYTHONDONTWRITEBYTECODE
'),
reason="Byte code disabled",
)
def test_exclude_source_files(self, setup_context, user_override):
def test_exclude_source_files(self, setup_context, user_override):
dist = Distribution(dict(
dist = Distribution(dict(
script_name='
setup
.
py
',
script_name='
setup
.
py
',
...
...
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