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
85b2afb1
Kaydet (Commit)
85b2afb1
authored
Nis 11, 2013
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
#17690: merge with 3.3.
üst
526575d5
3836d70e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
15 deletions
+7
-15
test_time.py
Lib/test/test_time.py
+4
-15
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_time.py
Dosyayı görüntüle @
85b2afb1
...
@@ -465,10 +465,6 @@ class TestLocale(unittest.TestCase):
...
@@ -465,10 +465,6 @@ class TestLocale(unittest.TestCase):
time
.
strftime
(
"
%
B"
,
(
2009
,
2
,
1
,
0
,
0
,
0
,
0
,
0
,
0
))
time
.
strftime
(
"
%
B"
,
(
2009
,
2
,
1
,
0
,
0
,
0
,
0
,
0
,
0
))
class
_BaseYearTest
(
unittest
.
TestCase
):
def
yearstr
(
self
,
y
):
raise
NotImplementedError
()
class
_TestAsctimeYear
:
class
_TestAsctimeYear
:
_format
=
'
%
d'
_format
=
'
%
d'
...
@@ -526,7 +522,7 @@ class _TestStrftimeYear:
...
@@ -526,7 +522,7 @@ class _TestStrftimeYear:
del
skip_if_not_supported
del
skip_if_not_supported
class
_Test4dYear
(
_BaseYearTest
)
:
class
_Test4dYear
:
_format
=
'
%
d'
_format
=
'
%
d'
def
test_year
(
self
,
fmt
=
None
,
func
=
None
):
def
test_year
(
self
,
fmt
=
None
,
func
=
None
):
...
@@ -559,10 +555,10 @@ class _Test4dYear(_BaseYearTest):
...
@@ -559,10 +555,10 @@ class _Test4dYear(_BaseYearTest):
self
.
assertRaises
(
OverflowError
,
self
.
yearstr
,
TIME_MINYEAR
-
1
)
self
.
assertRaises
(
OverflowError
,
self
.
yearstr
,
TIME_MINYEAR
-
1
)
class
TestAsctime4dyear
(
_TestAsctimeYear
,
_Test4dYear
):
class
TestAsctime4dyear
(
_TestAsctimeYear
,
_Test4dYear
,
unittest
.
TestCase
):
pass
pass
class
TestStrftime4dyear
(
_TestStrftimeYear
,
_Test4dYear
):
class
TestStrftime4dyear
(
_TestStrftimeYear
,
_Test4dYear
,
unittest
.
TestCase
):
pass
pass
...
@@ -679,13 +675,6 @@ class TestPytime(unittest.TestCase):
...
@@ -679,13 +675,6 @@ class TestPytime(unittest.TestCase):
self
.
assertIs
(
lt
.
tm_gmtoff
,
None
)
self
.
assertIs
(
lt
.
tm_gmtoff
,
None
)
self
.
assertIs
(
lt
.
tm_zone
,
None
)
self
.
assertIs
(
lt
.
tm_zone
,
None
)
def
test_main
():
support
.
run_unittest
(
TimeTestCase
,
TestLocale
,
TestAsctime4dyear
,
TestStrftime4dyear
,
TestPytime
)
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
test_
main
()
unittest
.
main
()
Misc/NEWS
Dosyayı görüntüle @
85b2afb1
...
@@ -81,6 +81,9 @@ Tests
...
@@ -81,6 +81,9 @@ Tests
-
Issue
#
12820
:
add
tests
for
the
xml
.
dom
.
minicompat
module
.
-
Issue
#
12820
:
add
tests
for
the
xml
.
dom
.
minicompat
module
.
Patch
by
John
Chandler
and
Phil
Connell
.
Patch
by
John
Chandler
and
Phil
Connell
.
-
Issue
#
17690
:
test_time
now
works
with
unittest
test
discovery
.
Patch
by
Zachary
Ware
.
What
's New in Python 3.3.1 release candidate 1?
What
's New in Python 3.3.1 release candidate 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