Skip to content

Commit 3995c12

Browse files
add failing test for issue bpython#415
1 parent d7afe73 commit 3995c12

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bpython/test/test_curtsies_repl.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# coding: utf8
12
import code
23
import os
34
import sys
@@ -51,6 +52,10 @@ def test_external_communication(self):
5152
self.repl.send_current_block_to_external_editor()
5253
self.repl.send_session_to_external_editor()
5354

55+
def test_external_communication_encoding(self):
56+
self.repl.display_lines.append(u'>>> åß∂ƒ')
57+
self.repl.send_session_to_external_editor()
58+
5459
def test_get_last_word(self):
5560
self.repl.rl_history.entries=['1','2 3','4 5 6']
5661
self.repl._set_current_line('abcde')

0 commit comments

Comments
 (0)