diff options
| author | redbrain <redbrain@gcc.gnu.org> | 2010-08-16 18:58:52 +0100 |
|---|---|---|
| committer | redbrain <redbrain@gcc.gnu.org> | 2010-08-16 18:58:52 +0100 |
| commit | 8008e16b029bce00a32b6f203eb52040a3ec2ecb (patch) | |
| tree | 3be7a7730eefea2b8bc15e285147fc50812af785 /libgpython | |
| parent | 6117b4650e33deb165b48ed2a3b8e467240f4dab (diff) | |
| download | gcc-8008e16b029bce00a32b6f203eb52040a3ec2ecb.tar.gz | |
clean up and renames beginigs of a testsuite
Diffstat (limited to 'libgpython')
| -rw-r--r-- | libgpython/t_exception.py | 16 | ||||
| -rw-r--r-- | libgpython/testsuite/t_class_1.py (renamed from libgpython/t_class.py) | 0 | ||||
| -rw-r--r-- | libgpython/testsuite/t_express_1.py (renamed from libgpython/t2.py) | 0 | ||||
| -rw-r--r-- | libgpython/testsuite/t_express_2.py (renamed from libgpython/t.py) | 0 | ||||
| -rw-r--r-- | libgpython/testsuite/t_method_1.py | 4 | ||||
| -rw-r--r-- | libgpython/testsuite/t_print_1.py (renamed from libgpython/print.py) | 0 | ||||
| -rw-r--r-- | libgpython/testsuite/t_print_2.py (renamed from libgpython/t_print.py) | 0 |
7 files changed, 4 insertions, 16 deletions
diff --git a/libgpython/t_exception.py b/libgpython/t_exception.py deleted file mode 100644 index 2d07aa22c6f..00000000000 --- a/libgpython/t_exception.py +++ /dev/null @@ -1,16 +0,0 @@ -class B: - pass -class C(B): - pass -class D(C): - pass - -for c in [B, C, D]: - try: - raise c() - except D: - print "D" - except C: - print "C" - except B: - print "B" diff --git a/libgpython/t_class.py b/libgpython/testsuite/t_class_1.py index 2876c88b128..2876c88b128 100644 --- a/libgpython/t_class.py +++ b/libgpython/testsuite/t_class_1.py diff --git a/libgpython/t2.py b/libgpython/testsuite/t_express_1.py index 5d1ebc5a445..5d1ebc5a445 100644 --- a/libgpython/t2.py +++ b/libgpython/testsuite/t_express_1.py diff --git a/libgpython/t.py b/libgpython/testsuite/t_express_2.py index b14c0b5cd40..b14c0b5cd40 100644 --- a/libgpython/t.py +++ b/libgpython/testsuite/t_express_2.py diff --git a/libgpython/testsuite/t_method_1.py b/libgpython/testsuite/t_method_1.py new file mode 100644 index 00000000000..3ca7e16a44f --- /dev/null +++ b/libgpython/testsuite/t_method_1.py @@ -0,0 +1,4 @@ +def foo ( ): + x = 2 + 3 + 1 + print x +x1 = 2 diff --git a/libgpython/print.py b/libgpython/testsuite/t_print_1.py index 73656cc1280..73656cc1280 100644 --- a/libgpython/print.py +++ b/libgpython/testsuite/t_print_1.py diff --git a/libgpython/t_print.py b/libgpython/testsuite/t_print_2.py index 02ba22ad7a3..02ba22ad7a3 100644 --- a/libgpython/t_print.py +++ b/libgpython/testsuite/t_print_2.py |
