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
5e6d72b8
Commit
5e6d72b8
authored
Oct 11, 2017
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feed the hobgoblins (delint).
parent
1c00a900
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
setuptools/tests/test_sdist.py
setuptools/tests/test_sdist.py
+5
-3
No files found.
setuptools/tests/test_sdist.py
View file @
5e6d72b8
...
...
@@ -128,8 +128,8 @@ class TestSdistTest:
def
test_defaults_case_sensitivity
(
self
):
"""
Make sure default files (README.*, etc.) are added in a case-sensitive
way to avoid problems with packages built on Windows.
Make sure default files (README.*, etc.) are added in a case-sensitive
way to avoid problems with packages built on Windows.
"""
open
(
os
.
path
.
join
(
self
.
temp_dir
,
'readme.rst'
),
'w'
).
close
()
...
...
@@ -146,7 +146,9 @@ class TestSdistTest:
with
quiet
():
cmd
.
run
()
# lowercase all names so we can test in a case-insensitive way to make sure the files are not included
# lowercase all names so we can test in a
# case-insensitive way to make sure the files
# are not included.
manifest
=
map
(
lambda
x
:
x
.
lower
(),
cmd
.
filelist
.
files
)
assert
'readme.rst'
not
in
manifest
,
manifest
assert
'setup.py'
not
in
manifest
,
manifest
...
...
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