Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
74076cb8
Commit
74076cb8
authored
Oct 27, 2012
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#12890: skip tests which fail on windows until fixed or rewritten.
We may rewrite these using mock per issue 15749.
parent
4d9f3184
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/test/test_cgitb.py
Lib/test/test_cgitb.py
+2
-2
No files found.
Lib/test/test_cgitb.py
View file @
74076cb8
...
...
@@ -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