Skip to content

Commit

Permalink
python26 doesn't have TextTestRunner.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Jul 16, 2015
1 parent e7fae43 commit 0fa3120
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/zope/testing/setupstack.txt
Expand Up @@ -245,14 +245,13 @@ Here's an example:
>>> import unittest
>>> loader = unittest.TestLoader()
>>> suite = loader.loadTestsFromTestCase(MyTests)
>>> result = suite.run(unittest.TextTestResult(sys.stdout, True, 1))
>>> result = suite.run(unittest.TestResult())
enter
enter time.time {'return_value': 42}
[]
done w test
exit (None, None, None) time.time {'return_value': 42}
exit (None, None, None)
.

.. cleanup

Expand Down

0 comments on commit 0fa3120

Please sign in to comment.