[Python-checkins] cpython (2.7): Remove unused imports in test_wsgiref.py

senthil.kumaran python-checkins at python.org
Thu Sep 3 11:51:28 CEST 2015


https://hg.python.org/cpython/rev/cb781d3b1e6b
changeset:   97615:cb781d3b1e6b
branch:      2.7
parent:      97601:69ea73015132
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Thu Sep 03 02:39:57 2015 -0700
summary:
  Remove unused imports in test_wsgiref.py

files:
  Lib/test/test_wsgiref.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Lib/test/test_wsgiref.py b/Lib/test/test_wsgiref.py
--- a/Lib/test/test_wsgiref.py
+++ b/Lib/test/test_wsgiref.py
@@ -1,14 +1,14 @@
-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 StringIO import StringIO
 from SocketServer import BaseServer
+
 import os
 import re
 import sys

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list