summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tc_displayable.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tc_displayable.py b/test/tc_displayable.py
index 01be0c9c..3acf338b 100644
--- a/test/tc_displayable.py
+++ b/test/tc_displayable.py
@@ -27,8 +27,8 @@ class TestDisplayable(unittest.TestCase):
 		# Using a color method implies change of window attributes
 		disp = self.disp
 
-		self.win.chgat = raise_ok
-		self.win.attrset = raise_ok
+		disp.win.chgat = raise_ok
+		disp.win.attrset = raise_ok
 
 		self.assertRaises(OK, disp.color, 'a', 'b')
 		self.assertRaises(OK, disp.color_at, 0, 0, 0, 'a', 'b')