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
2a8668d0
Commit
2a8668d0
authored
Oct 23, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some distutils tests require zlib for creating tar.gz source distribution.
parent
06e8590e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/test_bdist_rpm.py
tests/test_bdist_rpm.py
+3
-3
No files found.
tests/test_bdist_rpm.py
View file @
2a8668d0
...
...
@@ -3,9 +3,7 @@
import
unittest
import
sys
import
os
import
tempfile
import
shutil
from
test.support
import
run_unittest
from
test.support
import
run_unittest
,
requires_zlib
from
distutils.core
import
Distribution
from
distutils.command.bdist_rpm
import
bdist_rpm
...
...
@@ -48,6 +46,7 @@ class BuildRpmTestCase(support.TempdirManager,
# spurious sdtout/stderr output under Mac OS X
@
unittest
.
skipUnless
(
sys
.
platform
.
startswith
(
'linux'
),
'spurious sdtout/stderr output under Mac OS X'
)
@
requires_zlib
@
unittest
.
skipIf
(
find_executable
(
'rpm'
)
is
None
,
'the rpm command is not found'
)
@
unittest
.
skipIf
(
find_executable
(
'rpmbuild'
)
is
None
,
...
...
@@ -90,6 +89,7 @@ class BuildRpmTestCase(support.TempdirManager,
# spurious sdtout/stderr output under Mac OS X
@
unittest
.
skipUnless
(
sys
.
platform
.
startswith
(
'linux'
),
'spurious sdtout/stderr output under Mac OS X'
)
@
requires_zlib
# http://bugs.python.org/issue1533164
@
unittest
.
skipIf
(
find_executable
(
'rpm'
)
is
None
,
'the rpm command is not found'
)
...
...
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