summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2017-09-03 20:33:26 +0200
committerDave Andreoli <dave@gurumeditation.it>2017-09-03 20:33:26 +0200
commitbc9d5648e751d9907892b22a624ce251a7115970 (patch)
tree7c148cef2399e34a20fc0edd06b6f701a51e37fb
parent58ab1d26f76b0083f7470a676092e4ff854ac83a (diff)
Fix an evas test
...not that I really understand the utility nor the root cause of tha fail but this test was segfaulting
-rw-r--r--tests/evas/test_02_canvas.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/evas/test_02_canvas.py b/tests/evas/test_02_canvas.py
index 8e5a11e..190ec52 100644
--- a/tests/evas/test_02_canvas.py
+++ b/tests/evas/test_02_canvas.py
@@ -13,8 +13,8 @@ def _new_canvas():
13 13
14class TestCanvasConstructor(unittest.TestCase): 14class TestCanvasConstructor(unittest.TestCase):
15 def testNoConstructorArgs(self): 15 def testNoConstructorArgs(self):
16 c = evas.Canvas() 16 c = evas.Canvas(method="buffer")
17 self.assertEqual(c.output_method_get(), 0) 17 self.assertEqual(c.output_method_get(), 1)
18 self.assertEqual(c.size_get(), (0, 0)) 18 self.assertEqual(c.size_get(), (0, 0))
19 self.assertEqual(c.viewport_get(), (0, 0, 1, 1)) 19 self.assertEqual(c.viewport_get(), (0, 0, 1, 1))
20 c.delete() 20 c.delete()