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
83a8c393
Kaydet (Commit)
83a8c393
authored
Ara 25, 2005
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
test_bug_1333982(): This one must fail under -O.
All the --all test pass using -O on WinXP now.
üst
903a9444
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
test_dis.py
Lib/test/test_dis.py
+4
-1
No files found.
Lib/test/test_dis.py
Dosyayı görüntüle @
83a8c393
...
@@ -121,7 +121,10 @@ class DisTests(unittest.TestCase):
...
@@ -121,7 +121,10 @@ class DisTests(unittest.TestCase):
self
.
do_disassembly_test
(
bug708901
,
dis_bug708901
)
self
.
do_disassembly_test
(
bug708901
,
dis_bug708901
)
def
test_bug_1333982
(
self
):
def
test_bug_1333982
(
self
):
self
.
do_disassembly_test
(
bug1333982
,
dis_bug1333982
)
# This one is checking bytecodes generated for an `assert` statement,
# so fails if the tests are run with -O. Skip this test then.
if
__debug__
:
self
.
do_disassembly_test
(
bug1333982
,
dis_bug1333982
)
def
test_main
():
def
test_main
():
run_unittest
(
DisTests
)
run_unittest
(
DisTests
)
...
...
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