Skip to content

Commit fd889b3

Browse files
committed
Small Python 3 fix for issue bpython#369's test.
1 parent 80d35b4 commit fd889b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/test/test_curtsies_repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_interactive(self):
104104
with captured_output() as (out, err):
105105
with tempfile.NamedTemporaryFile(mode='w', suffix='.py') as f:
106106
f.write('from __future__ import division\n')
107-
f.write('print 1/2\n')
107+
f.write('print(1/2)\n')
108108
f.flush()
109109
args.exec_code(interp, [f.name])
110110

0 commit comments

Comments
 (0)