File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22from test .script_helper import assert_python_failure , temp_dir
33import unittest
44import sys
5- import subprocess
6- import tempfile
75import cgitb
86
97class TestCgitb (unittest .TestCase ):
@@ -38,6 +36,7 @@ def test_text(self):
3836 self .assertIn ("ValueError" , text )
3937 self .assertIn ("Hello World" , text )
4038
39+ @unittest .skipIf (sys .platform == 'win32' , "test fails on windows, see issue 12890" )
4140 def test_syshook_no_logdir_default_format (self ):
4241 with temp_dir () as tracedir :
4342 rc , out , err = assert_python_failure (
@@ -51,6 +50,7 @@ def test_syshook_no_logdir_default_format(self):
5150 self .assertIn ('<p>' , out )
5251 self .assertIn ('</p>' , out )
5352
53+ @unittest .skipIf (sys .platform == 'win32' , "test fails on windows, see issue 12890" )
5454 def test_syshook_no_logdir_text_format (self ):
5555 # Issue 12890: we were emitting the <p> tag in text mode.
5656 with temp_dir () as tracedir :
You can’t perform that action at this time.
0 commit comments