Skip to content

Commit 4e11d5e

Browse files
committed
Remove __future__ imports
1 parent be8737c commit 4e11d5e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bpython/test/test_curtsies_repl.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,15 +244,13 @@ class TestFutureImports(TestCase):
244244
def test_repl(self):
245245
repl = create_repl()
246246
with captured_output() as (out, err):
247-
repl.push("from __future__ import division")
248247
repl.push("1 / 2")
249248
self.assertEqual(out.getvalue(), "0.5\n")
250249

251250
def test_interactive(self):
252251
interp = code.InteractiveInterpreter(locals={})
253252
with captured_output() as (out, err):
254253
with tempfile.NamedTemporaryFile(mode="w", suffix=".py") as f:
255-
f.write("from __future__ import division\n")
256254
f.write("print(1/2)\n")
257255
f.flush()
258256
args.exec_code(interp, [f.name])
@@ -438,7 +436,6 @@ def write_startup_file(self, fname, encoding):
438436
f.write("# coding: ")
439437
f.write(encoding)
440438
f.write("\n")
441-
f.write("from __future__ import unicode_literals\n")
442439
f.write('a = "äöü"\n')
443440

444441
def test_startup_event_utf8(self):

0 commit comments

Comments
 (0)