# HG changeset patch # User Martin Geisler # Date 2009-05-17 00:31:12 # Node ID 0eb8c4df61bd02620dff3b131069871498bca7d7 # Parent d5ebcf8f6855309164bab114b262f7d6a8243ba0 tests: renamed helper to avoid clash with stdlib repr module diff --git a/tests/repr.py b/tests/printrepr.py rename from tests/repr.py rename to tests/printrepr.py diff --git a/tests/test-hgweb-commands b/tests/test-hgweb-commands --- a/tests/test-hgweb-commands +++ b/tests/test-hgweb-commands @@ -50,7 +50,7 @@ echo % branches "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=branches' echo % changegroup "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=changegroup' \ - | $TESTDIR/repr.py + | $TESTDIR/printrepr.py echo % stream_out "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=stream_out' echo % failing unbundle, requires POST request diff --git a/tests/test-simplemerge-cmd b/tests/test-simplemerge-cmd --- a/tests/test-simplemerge-cmd +++ b/tests/test-simplemerge-cmd @@ -47,7 +47,7 @@ cat orig >> binary-local python simplemerge -p binary-local base other echo '% binary file --text' -python simplemerge -a -p binary-local base other 2>&1 | $TESTDIR/repr.py +python simplemerge -a -p binary-local base other 2>&1 | $TESTDIR/printrepr.py echo '% help' python simplemerge --help