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
a5489d41
Kaydet (Commit)
a5489d41
authored
Nis 21, 2008
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Comment typo
üst
92483cd8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test_xmlrpc.py
Lib/test/test_xmlrpc.py
+1
-1
No files found.
Lib/test/test_xmlrpc.py
Dosyayı görüntüle @
a5489d41
...
@@ -56,7 +56,7 @@ class XMLRPCTestCase(unittest.TestCase):
...
@@ -56,7 +56,7 @@ class XMLRPCTestCase(unittest.TestCase):
self
.
assertEquals
(
newdt
,
xmlrpclib
.
DateTime
(
'20050210T11:41:23'
))
self
.
assertEquals
(
newdt
,
xmlrpclib
.
DateTime
(
'20050210T11:41:23'
))
def
test_datetime_before_1900
(
self
):
def
test_datetime_before_1900
(
self
):
# same as before but with a
n
date before 1900
# same as before but with a date before 1900
dt
=
datetime
.
datetime
(
1
,
02
,
10
,
11
,
41
,
23
)
dt
=
datetime
.
datetime
(
1
,
02
,
10
,
11
,
41
,
23
)
s
=
xmlrpclib
.
dumps
((
dt
,))
s
=
xmlrpclib
.
dumps
((
dt
,))
(
newdt
,),
m
=
xmlrpclib
.
loads
(
s
,
use_datetime
=
1
)
(
newdt
,),
m
=
xmlrpclib
.
loads
(
s
,
use_datetime
=
1
)
...
...
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