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
7c38ec2d
Kaydet (Commit)
7c38ec2d
authored
Eki 27, 2012
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
merge #12890: skip tests which fail on windows until fixed or rewritten.
We may rewrite these using mock per issue 15749.
üst
7041b995
74076cb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test_cgitb.py
Lib/test/test_cgitb.py
+2
-2
No files found.
Lib/test/test_cgitb.py
Dosyayı görüntüle @
7c38ec2d
...
...
@@ -2,8 +2,6 @@ from test.support import run_unittest
from
test.script_helper
import
assert_python_failure
,
temp_dir
import
unittest
import
sys
import
subprocess
import
tempfile
import
cgitb
class
TestCgitb
(
unittest
.
TestCase
):
...
...
@@ -38,6 +36,7 @@ class TestCgitb(unittest.TestCase):
self
.
assertIn
(
"ValueError"
,
text
)
self
.
assertIn
(
"Hello World"
,
text
)
@unittest.skipIf
(
sys
.
platform
==
'win32'
,
"test fails on windows, see issue 12890"
)
def
test_syshook_no_logdir_default_format
(
self
):
with
temp_dir
()
as
tracedir
:
rc
,
out
,
err
=
assert_python_failure
(
...
...
@@ -51,6 +50,7 @@ class TestCgitb(unittest.TestCase):
self
.
assertIn
(
'<p>'
,
out
)
self
.
assertIn
(
'</p>'
,
out
)
@unittest.skipIf
(
sys
.
platform
==
'win32'
,
"test fails on windows, see issue 12890"
)
def
test_syshook_no_logdir_text_format
(
self
):
# Issue 12890: we were emitting the <p> tag in text mode.
with
temp_dir
()
as
tracedir
:
...
...
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