Skip to content

Commit 90f681b

Browse files
committed
Additions to test app for python3
1 parent ae6b409 commit 90f681b

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

tests/testapp_nogui/main.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@
99
for i in range(45, 50):
1010
print(i, sqrt(i))
1111

12+
print('trying to import six')
13+
try:
14+
import six
15+
except ImportError:
16+
print('import failed')
17+
18+
19+
print('trying to import six again')
20+
try:
21+
import six
22+
except ImportError:
23+
print('import failed (again?)')
24+
print('import six worked!')
25+
1226
print('Just printing stuff apparently worked, trying pyjnius')
1327

1428
import jnius

0 commit comments

Comments
 (0)