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
22f2c0e2
Commit
22f2c0e2
authored
Sep 03, 2015
by
Senthil Kumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test_wsgiref execution from the test module.
parent
26afae40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Lib/test/test_wsgiref.py
Lib/test/test_wsgiref.py
+2
-3
No files found.
Lib/test/test_wsgiref.py
View file @
22f2c0e2
from
__future__
import
nested_scopes
# Backward compat for 2.1
from
unittest
import
TestCase
from
wsgiref.util
import
setup_testing_defaults
from
wsgiref.headers
import
Headers
from
wsgiref.handlers
import
BaseHandler
,
BaseCGIHandler
from
wsgiref
import
util
from
wsgiref.validate
import
validator
from
wsgiref.simple_server
import
WSGIServer
,
WSGIRequestHandler
,
demo_app
from
wsgiref.simple_server
import
WSGIServer
,
WSGIRequestHandler
from
wsgiref.simple_server
import
make_server
from
io
import
StringIO
,
BytesIO
,
BufferedReader
from
socketserver
import
BaseServer
...
...
@@ -14,8 +13,8 @@ from platform import python_implementation
import
os
import
re
import
sys
import
unittest
from
test
import
support
class
MockServer
(
WSGIServer
):
"""Non-socket HTTP server"""
...
...
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