Skip to content

Commit d8ccc43

Browse files
committed
Report diffs for multiline doctest output.
1 parent f265e7c commit d8ccc43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
modules = [__import__(name.replace('.py',''))
1818
for arg in args if arg != "-v" for name in glob.glob(arg)]
1919
for module in modules:
20-
doctest.testmod(module, report=1)
20+
doctest.testmod(module, report=1, optionflags=doctest.REPORT_UDIFF)
2121
print '%d failed out of %d' % doctest.master.summarize()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy