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
f1cccaa6
Kaydet (Commit)
f1cccaa6
authored
Haz 19, 2009
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove duplicate test
üst
8c826b77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
test_with.py
Lib/test/test_with.py
+0
-9
No files found.
Lib/test/test_with.py
Dosyayı görüntüle @
f1cccaa6
...
@@ -283,15 +283,6 @@ class NestedNonexceptionalTestCase(unittest.TestCase,
...
@@ -283,15 +283,6 @@ class NestedNonexceptionalTestCase(unittest.TestCase,
with
Nested
(
mock_contextmanager_generator
()):
with
Nested
(
mock_contextmanager_generator
()):
pass
pass
def
testSingleArgUnbound
(
self
):
mock_contextmanager
=
mock_contextmanager_generator
()
mock_nested
=
MockNested
(
mock_contextmanager
)
with
mock_nested
:
self
.
assertInWithManagerInvariants
(
mock_contextmanager
)
self
.
assertInWithManagerInvariants
(
mock_nested
)
self
.
assertAfterWithManagerInvariantsNoError
(
mock_contextmanager
)
self
.
assertAfterWithManagerInvariantsNoError
(
mock_nested
)
def
testSingleArgBoundToNonTuple
(
self
):
def
testSingleArgBoundToNonTuple
(
self
):
m
=
mock_contextmanager_generator
()
m
=
mock_contextmanager_generator
()
# This will bind all the arguments to nested() into a single list
# This will bind all the arguments to nested() into a single list
...
...
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