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
13ed2ea7
Kaydet (Commit)
13ed2ea7
authored
Mar 21, 2011
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #10864 has been fixed: remove the workaround
üst
25871dac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
test_time.py
Lib/test/test_time.py
+2
-6
No files found.
Lib/test/test_time.py
Dosyayı görüntüle @
13ed2ea7
...
@@ -295,12 +295,8 @@ class _TestStrftimeYear:
...
@@ -295,12 +295,8 @@ class _TestStrftimeYear:
except
ValueError
:
except
ValueError
:
# strftime() is limited to [1; 9999] with Visual Studio
# strftime() is limited to [1; 9999] with Visual Studio
return
return
# Issue #10864: OpenIndiana is limited to 4 digits,
self
.
assertEqual
(
text
,
'12345'
)
# but Python doesn't raise a ValueError
self
.
assertEqual
(
self
.
yearstr
(
123456789
),
'123456789'
)
#self.assertEqual(text, '12345')
#self.assertEqual(self.yearstr(123456789), '123456789')
self
.
assertIn
(
text
,
(
'2345'
,
'12345'
))
self
.
assertIn
(
self
.
yearstr
(
123456789
),
(
'123456789'
,
'6789'
))
class
_Test2dYear
(
_BaseYearTest
):
class
_Test2dYear
(
_BaseYearTest
):
accept2dyear
=
1
accept2dyear
=
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