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
739a59cf
Kaydet (Commit)
739a59cf
authored
Eki 10, 2010
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Don't run xpickle tests when the reference interpreter doesn't have test_support
(see AMD64 Gentoo buildbot)
üst
58dab67f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
test_xpickle.py
Lib/test/test_xpickle.py
+3
-2
No files found.
Lib/test/test_xpickle.py
Dosyayı görüntüle @
739a59cf
...
@@ -57,7 +57,8 @@ class DumpPickle_LoadCPickle(AbstractPickleTests):
...
@@ -57,7 +57,8 @@ class DumpPickle_LoadCPickle(AbstractPickleTests):
return
cPickle
.
loads
(
buf
)
return
cPickle
.
loads
(
buf
)
def
have_python_version
(
name
):
def
have_python_version
(
name
):
"""Check whether the given name is a valid Python binary.
"""Check whether the given name is a valid Python binary and has
test.test_support.
This respects your PATH.
This respects your PATH.
...
@@ -67,7 +68,7 @@ def have_python_version(name):
...
@@ -67,7 +68,7 @@ def have_python_version(name):
Returns:
Returns:
True if the name is valid, False otherwise.
True if the name is valid, False otherwise.
"""
"""
return
os
.
system
(
name
+
" -c 'import
sys; sys.exit()
'"
)
==
0
return
os
.
system
(
name
+
" -c 'import
test.test_support
'"
)
==
0
class
AbstractCompatTests
(
AbstractPickleTests
):
class
AbstractCompatTests
(
AbstractPickleTests
):
...
...
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