diff options
| author | John R. Lenton <jlenton@gmail.com> | 2014-01-03 22:55:16 +0000 |
|---|---|---|
| committer | John R. Lenton <jlenton@gmail.com> | 2014-01-03 22:55:16 +0000 |
| commit | 97334c85d0b53ef1648eb76ec6e9e2b1efab1f97 (patch) | |
| tree | d10f6b6b7ca3394e6f7dc31ca55e0df2b39abe02 /tests | |
| parent | 25f417c08c2cdb5c4a7564d1e69766c0448d7984 (diff) | |
| parent | b7aa72710ee6798c6d2bc2632be24206e526fc1e (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/basics/run-tests | 2 | ||||
| -rw-r--r-- | tests/basics/tests/import1a.py | 2 | ||||
| -rw-r--r-- | tests/basics/tests/import1b.py | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/tests/basics/run-tests b/tests/basics/run-tests index 1b027c3e9..72e69c2d8 100755 --- a/tests/basics/run-tests +++ b/tests/basics/run-tests @@ -11,7 +11,7 @@ namefailed= for infile in tests/*.py do - basename=`basename $infile .c` + basename=`basename $infile .py` outfile=${basename}.out expfile=${basename}.exp diff --git a/tests/basics/tests/import1a.py b/tests/basics/tests/import1a.py new file mode 100644 index 000000000..16b2d4d30 --- /dev/null +++ b/tests/basics/tests/import1a.py @@ -0,0 +1,2 @@ +import import1b +print(import1b.var) diff --git a/tests/basics/tests/import1b.py b/tests/basics/tests/import1b.py new file mode 100644 index 000000000..80479088f --- /dev/null +++ b/tests/basics/tests/import1b.py @@ -0,0 +1 @@ +var = 123 |
