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
4fb1fe8b
Kaydet (Commit)
4fb1fe8b
authored
Eki 04, 2001
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
class_docstrings(): The new-style class tests should use new-style
classes (sheesh!).
üst
59f809d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test_descr.py
Lib/test/test_descr.py
+4
-4
No files found.
Lib/test/test_descr.py
Dosyayı görüntüle @
4fb1fe8b
...
@@ -98,24 +98,24 @@ def class_docstrings():
...
@@ -98,24 +98,24 @@ def class_docstrings():
pass
pass
verify
(
Classic2
.
__doc__
is
None
)
verify
(
Classic2
.
__doc__
is
None
)
class
NewStatic
:
class
NewStatic
(
object
)
:
"Another docstring."
"Another docstring."
__dynamic__
=
0
__dynamic__
=
0
verify
(
NewStatic
.
__doc__
==
"Another docstring."
)
verify
(
NewStatic
.
__doc__
==
"Another docstring."
)
verify
(
NewStatic
.
__dict__
[
'__doc__'
]
==
"Another docstring."
)
verify
(
NewStatic
.
__dict__
[
'__doc__'
]
==
"Another docstring."
)
class
NewStatic2
:
class
NewStatic2
(
object
)
:
__dynamic__
=
0
__dynamic__
=
0
pass
pass
verify
(
NewStatic2
.
__doc__
is
None
)
verify
(
NewStatic2
.
__doc__
is
None
)
class
NewDynamic
:
class
NewDynamic
(
object
)
:
"Another docstring."
"Another docstring."
__dynamic__
=
1
__dynamic__
=
1
verify
(
NewDynamic
.
__doc__
==
"Another docstring."
)
verify
(
NewDynamic
.
__doc__
==
"Another docstring."
)
verify
(
NewDynamic
.
__dict__
[
'__doc__'
]
==
"Another docstring."
)
verify
(
NewDynamic
.
__dict__
[
'__doc__'
]
==
"Another docstring."
)
class
NewDynamic2
:
class
NewDynamic2
(
object
)
:
__dynamic__
=
1
__dynamic__
=
1
pass
pass
verify
(
NewDynamic2
.
__doc__
is
None
)
verify
(
NewDynamic2
.
__doc__
is
None
)
...
...
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