mirror of https://github.com/kivy/kivy.git
fix test assertIn
This commit is contained in:
parent
df99a6c9a9
commit
05a3123b71
|
@ -160,6 +160,6 @@ class LangTestCase(unittest.TestCase):
|
|||
Builder.apply(wid)
|
||||
wid.a = 0
|
||||
|
||||
self.assertIn('on_press', wid.binded_func)
|
||||
self.assertTrue('on_press' in wid.binded_func)
|
||||
wid.binded_func['on_press']()
|
||||
self.assertEquals(wid.a, 1)
|
||||
|
|
Loading…
Reference in New Issue