|
10 | 10 | # So thank guys! |
11 | 11 | # |
12 | 12 |
|
13 | | -import unittest |
14 | 13 | import sys |
15 | 14 |
|
16 | 15 |
|
17 | 16 | if __name__ == '__main__': |
18 | 17 | if sys.version_info >= (3, 0): |
19 | 18 | print("\nThis is the Python 2 version of Python Koans, but you are " + |
20 | | - "running it with Python 3 or newer!\n\n" |
21 | | - "Did you accidentally use the wrong python script? \nTry:\n\n" + |
22 | | - " python contemplate_koans.py\n") |
| 19 | + "running it with Python 3 or newer!\n\n" |
| 20 | + "Did you accidentally use the wrong python script? \nTry:\n\n" + |
| 21 | + " python contemplate_koans.py\n") |
23 | 22 | else: |
24 | 23 | if sys.version_info < (2, 7): |
25 | 24 | print("\n" + |
26 | | - "********************************************************\n" + |
27 | | - "WARNING:\n" + |
28 | | - "This version of Python Koans was designed for " + |
29 | | - "Python 2.7 or greater.\n" + |
30 | | - "Your version of Python is older, so you may run into " + |
31 | | - "problems!\n\n" + |
32 | | - "But lets see how far we get...\n" + |
33 | | - "********************************************************\n") |
| 25 | + "********************************************************\n" + |
| 26 | + "WARNING:\n" + |
| 27 | + "This version of Python Koans was designed for " + |
| 28 | + "Python 2.7 or greater.\n" + |
| 29 | + "Your version of Python is older, so you may run into " + |
| 30 | + "problems!\n\n" + |
| 31 | + "But lets see how far we get...\n" + |
| 32 | + "********************************************************\n") |
34 | 33 |
|
35 | 34 | from runner.mountain import Mountain |
36 | 35 |
|
|
0 commit comments