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
9facaf4f
Kaydet (Commit)
9facaf4f
authored
Haz 26, 2012
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #15079: make a test applicable to both C and Python versions of the pickle module.
Patch by Stefan Mihaila.
üst
7fb30f03
79035bd7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
pickletester.py
Lib/test/pickletester.py
+5
-3
ACKS
Misc/ACKS
+1
-0
No files found.
Lib/test/pickletester.py
Dosyayı görüntüle @
9facaf4f
...
@@ -708,6 +708,11 @@ class AbstractPickleTests(unittest.TestCase):
...
@@ -708,6 +708,11 @@ class AbstractPickleTests(unittest.TestCase):
def
test_getinitargs
(
self
):
def
test_getinitargs
(
self
):
pass
pass
def
test_pop_empty_stack
(
self
):
# Test issue7455
s
=
b
'0'
self
.
assertRaises
((
pickle
.
UnpicklingError
,
IndexError
),
self
.
loads
,
s
)
def
test_metaclass
(
self
):
def
test_metaclass
(
self
):
a
=
use_metaclass
()
a
=
use_metaclass
()
for
proto
in
protocols
:
for
proto
in
protocols
:
...
@@ -1424,9 +1429,6 @@ class AbstractPickleModuleTests(unittest.TestCase):
...
@@ -1424,9 +1429,6 @@ class AbstractPickleModuleTests(unittest.TestCase):
# Test issue4298
# Test issue4298
s
=
bytes
([
0x58
,
0
,
0
,
0
,
0x54
])
s
=
bytes
([
0x58
,
0
,
0
,
0
,
0x54
])
self
.
assertRaises
(
EOFError
,
pickle
.
loads
,
s
)
self
.
assertRaises
(
EOFError
,
pickle
.
loads
,
s
)
# Test issue7455
s
=
b
'0'
self
.
assertRaises
(
pickle
.
UnpicklingError
,
pickle
.
loads
,
s
)
class
AbstractPersistentPicklerTests
(
unittest
.
TestCase
):
class
AbstractPersistentPicklerTests
(
unittest
.
TestCase
):
...
...
Misc/ACKS
Dosyayı görüntüle @
9facaf4f
...
@@ -695,6 +695,7 @@ Alexis Métaireau
...
@@ -695,6 +695,7 @@ Alexis Métaireau
Steven Miale
Steven Miale
Trent Mick
Trent Mick
Stan Mihai
Stan Mihai
Stefan Mihaila
Aristotelis Mikropoulos
Aristotelis Mikropoulos
Chad Miller
Chad Miller
Damien Miller
Damien Miller
...
...
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