tests/test-module-imports.t
changeset 22947 c63a09b6b337
parent 20519 cda9d2b6beab
child 23894 f388ceae2250
equal deleted inserted replaced
22946:77c121da6143 22947:c63a09b6b337
     1 This code uses the ast module, which was new in 2.6, so we'll skip
     1 This code uses the ast module, which was new in 2.6, so we'll skip
     2 this test on anything earlier.
     2 this test on anything earlier.
     3   $ python -c 'import sys ; assert sys.version_info >= (2, 6)' || exit 80
     3   $ $PYTHON -c 'import sys ; assert sys.version_info >= (2, 6)' || exit 80
     4 
     4 
     5   $ import_checker="$TESTDIR"/../contrib/import-checker.py
     5   $ import_checker="$TESTDIR"/../contrib/import-checker.py
     6 Run the doctests from the import checker, and make sure
     6 Run the doctests from the import checker, and make sure
     7 it's working correctly.
     7 it's working correctly.
     8   $ TERM=dumb
     8   $ TERM=dumb