##// END OF EJS Templates
Remove dependence on execution_count in test_width
Aaron Meurer -
Show More
@@ -116,7 +116,7 b' class PromptTests(unittest.TestCase):'
116 self.assertEqual(_invisible_characters('\001\033]133;A\a\002'), 10)
116 self.assertEqual(_invisible_characters('\001\033]133;A\a\002'), 10)
117
117
118 def test_width(self):
118 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'
120 self.pm.in_template = default_in
120 self.pm.in_template = default_in
121 self.pm.render('in')
121 self.pm.render('in')
122 self.assertEqual(self.pm.width, 8)
122 self.assertEqual(self.pm.width, 8)
General Comments 0
You need to be logged in to leave comments. Login now