Show More
@@ -1,8 +1,11 b'' | |||
|
1 | #require test-repo | |
|
2 | ||
|
1 | 3 | This code uses the ast module, which was new in 2.6, so we'll skip |
|
2 | 4 | this test on anything earlier. |
|
3 | 5 | $ $PYTHON -c 'import sys ; assert sys.version_info >= (2, 6)' || exit 80 |
|
4 | 6 | |
|
5 | 7 | $ import_checker="$TESTDIR"/../contrib/import-checker.py |
|
8 | ||
|
6 | 9 | Run the doctests from the import checker, and make sure |
|
7 | 10 | it's working correctly. |
|
8 | 11 | $ TERM=dumb |
@@ -10,11 +13,6 b" it's working correctly." | |||
|
10 | 13 | $ python -m doctest $import_checker |
|
11 | 14 | |
|
12 | 15 | $ cd "$TESTDIR"/.. |
|
13 | $ if hg identify -q > /dev/null 2>&1; then : | |
|
14 | > else | |
|
15 | > echo "skipped: not a Mercurial working dir" >&2 | |
|
16 | > exit 80 | |
|
17 | > fi | |
|
18 | 16 | |
|
19 | 17 | There are a handful of cases here that require renaming a module so it |
|
20 | 18 | doesn't overlap with a stdlib module name. There are also some cycles |
General Comments 0
You need to be logged in to leave comments.
Login now