diff options
author | Thomas Kluyver <takowl@gmail.com> | 2013-09-25 16:37:21 -0700 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2013-09-25 16:37:21 -0700 |
commit | 4c19cc491fa2ad0ee1cad29078411e0b05a52e28 (patch) | |
tree | bce0cd4dc100c3a4640bfba158e87a4cab708e3c /tests/PexpectTestCase.py | |
parent | 8f2cdbbdd285d81b00f49f07351776b3d6ab7a8e (diff) | |
download | pexpect-git-4c19cc491fa2ad0ee1cad29078411e0b05a52e28.tar.gz |
Improvements to test framework
Diffstat (limited to 'tests/PexpectTestCase.py')
-rw-r--r-- | tests/PexpectTestCase.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PexpectTestCase.py b/tests/PexpectTestCase.py index cfdcd58..a9c056f 100644 --- a/tests/PexpectTestCase.py +++ b/tests/PexpectTestCase.py @@ -30,7 +30,8 @@ class PexpectTestCase(unittest.TestCase): self.original_path = os.getcwd() newpath = os.path.join (os.environ['PROJECT_PEXPECT_HOME'], 'tests') os.chdir (newpath) - print('\n', self.id(), end='') + print('\n', self.id(), end=' ') + sys.stdout.flush() unittest.TestCase.setUp(self) def tearDown(self): os.chdir (self.original_path) |