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
0c86c6a2
Commit
0c86c6a2
authored
Jul 26, 2017
by
Benoit Pierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: minor cleanup; remove dead code
parent
de05e931
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
setuptools/tests/test_easy_install.py
setuptools/tests/test_easy_install.py
+0
-12
No files found.
setuptools/tests/test_easy_install.py
View file @
0c86c6a2
...
...
@@ -567,18 +567,6 @@ def create_setup_requires_package(path, distname='foobar', version='0.1',
return
test_pkg
def
make_trivial_sdist
(
dist_path
,
setup_py
):
"""Create a simple sdist tarball at dist_path, containing just a
setup.py, the contents of which are provided by the setup_py string.
"""
setup_py_file
=
tarfile
.
TarInfo
(
name
=
'setup.py'
)
setup_py_bytes
=
io
.
BytesIO
(
setup_py
.
encode
(
'utf-8'
))
setup_py_file
.
size
=
len
(
setup_py_bytes
.
getvalue
())
with
tarfile_open
(
dist_path
,
'w:gz'
)
as
dist
:
dist
.
addfile
(
setup_py_file
,
fileobj
=
setup_py_bytes
)
@
pytest
.
mark
.
skipif
(
sys
.
platform
.
startswith
(
'java'
)
and
ei
.
is_sh
(
sys
.
executable
),
reason
=
"Test cannot run under java when executable is sh"
...
...
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