From 1da5de91e359b46ee0db3e5672720b7cb291c546 2015-08-16 20:07:16 From: Aaron Meurer Date: 2015-08-16 20:07:16 Subject: [PATCH] Remove dependence on execution_count in test_width --- diff --git a/IPython/core/tests/test_prompts.py b/IPython/core/tests/test_prompts.py index e1bcae6..024ebaa 100644 --- a/IPython/core/tests/test_prompts.py +++ b/IPython/core/tests/test_prompts.py @@ -116,7 +116,7 @@ class PromptTests(unittest.TestCase): self.assertEqual(_invisible_characters('\001\033]133;A\a\002'), 10) def test_width(self): - default_in = '\x01\x1b]133;A\x07\x02In [\\#]: \x01\x1b]133;B\x07\x02' + default_in = '\x01\x1b]133;A\x07\x02In [1]: \x01\x1b]133;B\x07\x02' self.pm.in_template = default_in self.pm.render('in') self.assertEqual(self.pm.width, 8)