Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0bd5a3fe
Commit
0bd5a3fe
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
50c5908a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Lib/distutils/tests/test_bdist_rpm.py
Lib/distutils/tests/test_bdist_rpm.py
+3
-3
No files found.
Lib/distutils/tests/test_bdist_rpm.py
View file @
0bd5a3fe
...
...
@@ -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