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
6285ffd9
Kaydet (Commit)
6285ffd9
authored
Eki 31, 2008
tarafından
Amaury Forgeot d'Arc
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Correct the pickle test, broken since r67059:
the python version of pickle is still more tolerant than the C one.
üst
f216c942
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
pickletester.py
Lib/test/pickletester.py
+9
-2
No files found.
Lib/test/pickletester.py
Dosyayı görüntüle @
6285ffd9
...
...
@@ -888,9 +888,16 @@ class AbstractPickleTests(unittest.TestCase):
# 5th item is not an iterator
return
dict
,
(),
None
,
None
,
[]
# Protocol 0 is less strict and also accept iterables.
for
proto
in
protocols
:
self
.
assertRaises
(
pickle
.
PickleError
,
self
.
dumps
,
C
(),
proto
)
self
.
assertRaises
(
pickle
.
PickleError
,
self
.
dumps
,
D
(),
proto
)
try
:
self
.
dumps
(
C
(),
proto
)
except
(
pickle
.
PickleError
):
pass
try
:
self
.
dumps
(
D
(),
proto
)
except
(
pickle
.
PickleError
):
pass
# Test classes for reduce_ex
...
...
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