__eq__ for Line

This commit is contained in:
Kovid Goyal
2016-11-04 14:56:31 +05:30
parent 8324ec1c2b
commit d324baf979
5 changed files with 44 additions and 20 deletions

View File

@@ -20,6 +20,15 @@ def filled_line_buf(ynum=5, xnum=5, cursor=Cursor()):
return ans
def filled_cursor():
ans = Cursor()
ans.bold = ans.italic = ans.reverse = ans.strikethrough = True
ans.fg = 0x101
ans.bg = 0x201
ans.decoration_fg = 0x301
return ans
class BaseTest(TestCase):
ae = TestCase.assertEqual