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
3ae84b63
Kaydet (Commit)
3ae84b63
authored
Kas 09, 2002
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Allow both string and Unicode objects in levels.
üst
2411a2dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test___future__.py
Lib/test/test___future__.py
+2
-2
No files found.
Lib/test/test___future__.py
Dosyayı görüntüle @
3ae84b63
...
...
@@ -33,7 +33,7 @@ for feature in features:
verify
(
type
(
major
)
is
IntType
,
"optional major isn't int"
)
verify
(
type
(
minor
)
is
IntType
,
"optional minor isn't int"
)
verify
(
type
(
micro
)
is
IntType
,
"optional micro isn't int"
)
verify
(
type
(
level
)
is
StringType
,
"optional level isn't string"
)
verify
(
isinstance
(
level
,
basestring
)
,
"optional level isn't string"
)
verify
(
level
in
GOOD_SERIALS
,
"optional level string has unknown value"
)
verify
(
type
(
serial
)
is
IntType
,
"optional serial isn't int"
)
...
...
@@ -46,7 +46,7 @@ for feature in features:
verify
(
type
(
major
)
is
IntType
,
"mandatory major isn't int"
)
verify
(
type
(
minor
)
is
IntType
,
"mandatory minor isn't int"
)
verify
(
type
(
micro
)
is
IntType
,
"mandatory micro isn't int"
)
verify
(
type
(
level
)
is
StringType
,
"mandatory level isn't string"
)
verify
(
isinstance
(
level
,
basestring
)
,
"mandatory level isn't string"
)
verify
(
level
in
GOOD_SERIALS
,
"mandatory serial string has unknown value"
)
verify
(
type
(
serial
)
is
IntType
,
"mandatory serial isn't int"
)
...
...
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