Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
0211bb78
Kaydet (Commit)
0211bb78
authored
Eki 23, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some distutils tests require zlib for creating tar.gz source distribution.
üst
b4293efd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test_bdist_rpm.py
Lib/distutils/tests/test_bdist_rpm.py
+3
-3
No files found.
Lib/distutils/tests/test_bdist_rpm.py
Dosyayı görüntüle @
0211bb78
...
@@ -3,9 +3,7 @@
...
@@ -3,9 +3,7 @@
import
unittest
import
unittest
import
sys
import
sys
import
os
import
os
import
tempfile
from
test.support
import
run_unittest
,
requires_zlib
import
shutil
from
test.support
import
run_unittest
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
...
@@ -48,6 +46,7 @@ class BuildRpmTestCase(support.TempdirManager,
...
@@ -48,6 +46,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
,
...
@@ -90,6 +89,7 @@ class BuildRpmTestCase(support.TempdirManager,
...
@@ -90,6 +89,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