Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1da5de9

Browse files
committed
Remove dependence on execution_count in test_width
1 parent 8e996f8 commit 1da5de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IPython/core/tests/test_prompts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test_invisible_chars(self):
116116
self.assertEqual(_invisible_characters('\001\033]133;A\a\002'), 10)
117117

118118
def test_width(self):
119-
default_in = '\x01\x1b]133;A\x07\x02In [\\#]: \x01\x1b]133;B\x07\x02'
119+
default_in = '\x01\x1b]133;A\x07\x02In [1]: \x01\x1b]133;B\x07\x02'
120120
self.pm.in_template = default_in
121121
self.pm.render('in')
122122
self.assertEqual(self.pm.width, 8)

0 commit comments

Comments
 (0)