mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
test-module-imports: skip on Python < 2.6, since ast is new in 2.6
This commit is contained in:
parent
39437ca6fb
commit
b707be4041
@ -1,3 +1,7 @@
|
||||
This code uses the ast module, which was new in 2.6, so we'll skip
|
||||
this test on anything earlier.
|
||||
$ python -c 'import sys ; assert sys.version_info >= (2, 6)' || exit 80
|
||||
|
||||
$ import_checker="$TESTDIR"/../contrib/import-checker.py
|
||||
Run the doctests from the import checker, and make sure
|
||||
it's working correctly.
|
||||
|
Loading…
Reference in New Issue
Block a user