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
58f8833e
Kaydet (Commit)
58f8833e
authored
Ara 30, 2015
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Make catched exception more specific and correct a comment.
üst
b5c7fc7a
beb652cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pickletester.py
Lib/test/pickletester.py
+3
-3
No files found.
Lib/test/pickletester.py
Dosyayı görüntüle @
58f8833e
...
@@ -1942,15 +1942,15 @@ class AbstractPickleTests(unittest.TestCase):
...
@@ -1942,15 +1942,15 @@ class AbstractPickleTests(unittest.TestCase):
# 5th item is not an iterator
# 5th item is not an iterator
return
dict
,
(),
None
,
None
,
[]
return
dict
,
(),
None
,
None
,
[]
# P
rotocol 0 is less strict and also accept
iterables.
# P
ython implementation is less strict and also accepts
iterables.
for
proto
in
protocols
:
for
proto
in
protocols
:
try
:
try
:
self
.
dumps
(
C
(),
proto
)
self
.
dumps
(
C
(),
proto
)
except
(
pickle
.
PickleError
)
:
except
pickle
.
PicklingError
:
pass
pass
try
:
try
:
self
.
dumps
(
D
(),
proto
)
self
.
dumps
(
D
(),
proto
)
except
(
pickle
.
PickleError
)
:
except
pickle
.
PicklingError
:
pass
pass
def
test_many_puts_and_gets
(
self
):
def
test_many_puts_and_gets
(
self
):
...
...
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