[pypy-commit] pyrepl py3ksupport: import/whitespace cleanup in testing infrastructure

RonnyPfannschmidt noreply at buildbot.pypy.org
Wed Oct 19 10:44:51 CEST 2011


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: py3ksupport
Changeset: r138:a4b000ce4256
Date: 2011-10-19 09:21 +0200
http://bitbucket.org/pypy/pyrepl/changeset/a4b000ce4256/

Log:	import/whitespace cleanup in testing infrastructure

diff --git a/testing/infrastructure.py b/testing/infrastructure.py
--- a/testing/infrastructure.py
+++ b/testing/infrastructure.py
@@ -19,8 +19,6 @@
 
 from pyrepl.reader import Reader
 from pyrepl.console import Console, Event
-import unittest
-import sys
 
 class EqualsAnything(object):
     def __eq__(self, other):
@@ -53,8 +51,10 @@
         return Event(*ev)
 
 class TestReader(Reader):
+
     def get_prompt(self, lineno, cursor_on_line):
         return ''
+    
     def refresh(self):
         Reader.refresh(self)
         self.dirty = True


More information about the pypy-commit mailing list