Skip to content

Commit

Permalink
Addressed comments on pr 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Sep 2, 2015
1 parent 5886813 commit 53a23ac
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/zope/testing/doctestcase.txt
Expand Up @@ -65,7 +65,7 @@ Here are some examples::
... def setUp(self):
... def print_(*args):
... sys.stdout.write(' '.join(map(str, args))+'\n')
... self.globs = dict(print_ = print_)
... self.globs = dict(print_=print_)


.. We can run these tests with the ``unittest`` test runner.
Expand All @@ -79,9 +79,6 @@ Here are some examples::
test3 (tests.MyTest) ... ok
test4 (tests.MyTest) ... ok

>>> for _, e in result.errors:
... print(e); print

>>> suite = loader.loadTestsFromTestCase(MoreTests)
>>> result = suite.run(unittest.TextTestResult(sys.stdout, True, 3))
test_loggingsupport (tests.MoreTests) ... ok
Expand Down Expand Up @@ -134,7 +131,7 @@ doctestfiles (alias: files)
doctestfiles makes file-based test cases and assigns them to the
decorated class.

Multile files can be specified and the resulting doctests are added
Multiple files can be specified and the resulting doctests are added
as members of the decorated class.

docteststring (alias string)
Expand Down

0 comments on commit 53a23ac

Please sign in to comment.