summaryrefslogtreecommitdiff
path: root/tests/test_vba.py
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-02-13 18:09:31 -0500
committerGitHub <noreply@github.com>2017-02-13 18:09:31 -0500
commit979c98a7c0f67ad6b9685b2d532c66a1f76ffb22 (patch)
treec67cc7b8500aac4e400d4e8bfdbef57a57b63eb1 /tests/test_vba.py
parent74c620d01ad59bfb09cf4111ace549b925fcb9ab (diff)
parent766dea11bd63dee939db2b47198410e6c6e0fc7e (diff)
Merge pull request #103 from eevee/py3
Python 3 compatibility, sort of, maybe
Diffstat (limited to 'tests/test_vba.py')
-rw-r--r--tests/test_vba.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test_vba.py b/tests/test_vba.py
index caa1867..a5f7589 100644
--- a/tests/test_vba.py
+++ b/tests/test_vba.py
@@ -1,16 +1,17 @@
"""
Tests for VBA automation tools
"""
+from __future__ import print_function
import unittest
-from setup_vba import (
+from tests.setup_vba import (
vba,
autoplayer,
keyboard,
)
-from bootstrapping import (
+from tests.bootstrapping import (
bootstrap,
bootstrap_trainer_battle,
)
@@ -267,13 +268,13 @@ class VbaTests(unittest.TestCase):
start_state = self.cry.vba.state
for name in names:
- print "Writing name: " + name
+ print("Writing name: " + name)
self.cry.vba.state = start_state
sequence = self.cry.write(name)
- print "sequence is: " + str(sequence)
+ print("sequence is: " + str(sequence))
# save this selection
self.cry.vba.press("start", hold=20)