| Benjamin Peterson | 90f5ba5 | 2010-03-11 22:53:45 +0000 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
| Martin v. Löwis | 6825e17 | 2008-12-01 04:44:45 +0000 | [diff] [blame] | 2 | |
| 3 | # The above line should get replaced with the path to the Python | ||||
| 4 | # interpreter; the block below should get 2to3-converted. | ||||
| 5 | |||||
| 6 | try: | ||||
| 7 | from test2to3.hello import hello | ||||
| 8 | except ImportError, e: | ||||
| 9 | print "Import failed", e | ||||
| 10 | hello() | ||||