hgkw/__init__.py
author Matt Mackall <mpm@selenic.com>
Mon, 07 Nov 2011 13:46:41 -0600
branchstable
changeset 1110 d5b3404b82ce
parent 0 41c7e55cd9e9
permissions -rw-r--r--
run-tests: replace inline python handling with more native scheme Normally changes in tests are reported like this in diffs: $ cat foo - a + b Using -i mode lets us update tests when the new results are correct and/or populate tests with their output. But with the standard doctest framework, inline Python sections in tests changes instead result in a big failure report that's unhelpful. So here, we replace the doctest calls with a simple compile/eval loop. [ original upstream message - missed change to heredoctest ]
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: