Skip to content

Commit 7be3c6b

Browse files
committed
Remove duplicate code
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent aaa0998 commit 7be3c6b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bpython/test/test_curtsies_coderunner.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ def test_simple(self):
2929
c.run_code()
3030

3131
def test_exception(self):
32-
orig_stdout = sys.stdout
33-
orig_stderr = sys.stderr
3432
c = CodeRunner(request_refresh=lambda: self.orig_stdout.flush() or self.orig_stderr.flush())
3533
def ctrlc():
3634
raise KeyboardInterrupt()

0 commit comments

Comments
 (0)