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