We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d5d149 commit 751b73dCopy full SHA for 751b73d
repl/test-repl-darwin.py
@@ -17,15 +17,15 @@
17
swift = sys.argv[1]
18
19
def debug(p):
20
- print 'before:'
21
- print p.before
22
- print '--'
23
- print 'after:'
24
- print p.after
25
26
- print p.match.groups()
27
28
-
+ print('before:')
+ print(p.before)
+ print('--')
+ print('after:')
+ print(p.after)
+ print(p.match.groups())
+
29
repl = pexpect.spawn(swift)
30
31
repl.expect('(.*)Welcome to Apple Swift version (.*)\r\n')
@@ -40,4 +40,4 @@ def debug(p):
40
except:
41
debug(repl)
42
43
-print "OK"
+print("OK")
0 commit comments