summaryrefslogtreecommitdiffstats
path: root/Tools/test2to3/maintest.py
blob: 036dd4f00ce24bc599c72f35568339b251d70542 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python3

# The above line should get replaced with the path to the Python
# interpreter; the block below should get 2to3-converted.

try:
    from test2to3.hello import hello
except ImportError, e:
    print "Import failed", e
hello()