Fixed Python flake8 offenses
diff --git a/test/py/TestServer.py b/test/py/TestServer.py
index 3b93841..0108c98 100755
--- a/test/py/TestServer.py
+++ b/test/py/TestServer.py
@@ -206,6 +206,7 @@
     Wraps any protocol with sequence ID checking: looks for outbound
     uniqueness as well as request/response alignment.
     """
+
     def __init__(self, protocol):
         # TProtocolDecorator.__new__ does all the heavy lifting
         pass
@@ -422,7 +423,6 @@
     sys.path.insert(0, os.path.join(SCRIPT_DIR, options.genpydir))
 
     from ThriftTest import ThriftTest, SecondService
-    from thrift.Thrift import TException
     from thrift.TMultiplexedProcessor import TMultiplexedProcessor
     from thrift.transport import THeaderTransport
     from thrift.transport import TTransport