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
f570d0f1
Kaydet (Commit)
f570d0f1
authored
Kas 07, 2016
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L.
üst
3bd79001
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
test_grammar.py
Lib/test/test_grammar.py
+0
-3
No files found.
Lib/test/test_grammar.py
Dosyayı görüntüle @
f570d0f1
...
@@ -359,9 +359,6 @@ class GrammarTests(unittest.TestCase):
...
@@ -359,9 +359,6 @@ class GrammarTests(unittest.TestCase):
self
.
assertEqual
(
ann_module
.
M
.
__annotations__
,
self
.
assertEqual
(
ann_module
.
M
.
__annotations__
,
{
'123'
:
123
,
'o'
:
type
})
{
'123'
:
123
,
'o'
:
type
})
self
.
assertEqual
(
ann_module2
.
__annotations__
,
{})
self
.
assertEqual
(
ann_module2
.
__annotations__
,
{})
self
.
assertEqual
(
typing
.
get_type_hints
(
ann_module2
.
CV
,
ann_module2
.
__dict__
),
ChainMap
({
'var'
:
typing
.
ClassVar
[
ann_module2
.
CV
]},
{}))
def
test_var_annot_in_module
(
self
):
def
test_var_annot_in_module
(
self
):
# check that functions fail the same way when executed
# check that functions fail the same way when executed
...
...
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