Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
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
django
Commits
651a6f76
Kaydet (Commit)
651a6f76
authored
Şub 09, 2014
tarafından
Adam Avramov
Kaydeden (comit)
Tim Graham
Şub 09, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #21992: Skipped test when pytz is missing.
The test fails on Windows when pytz is not installed.
üst
12385a5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
tests.py
django/contrib/humanize/tests.py
+1
-2
No files found.
django/contrib/humanize/tests.py
Dosyayı görüntüle @
651a6f76
...
...
@@ -162,8 +162,7 @@ class HumanizeTests(TestCase):
# As 24h of difference they will never be the same
self
.
assertNotEqual
(
naturalday_one
,
naturalday_two
)
@skipIf
(
settings
.
TIME_ZONE
!=
"America/Chicago"
and
pytz
is
None
,
"this test requires pytz when a non-default time zone is set"
)
@skipIf
(
pytz
is
None
,
"this test requires pytz"
)
def
test_naturalday_uses_localtime
(
self
):
# Regression for #18504
# This is 2012-03-08HT19:30:00-06:00 in America/Chicago
...
...
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