mirror of https://github.com/kivy/kivy.git
Add test for setting ReferenceListProperty slice.
This commit is contained in:
parent
b464278d05
commit
6c8f07f5fe
|
@ -245,6 +245,9 @@ class PropertiesTestCase(unittest.TestCase):
|
|||
pos.get(wid)[0] = 10
|
||||
self.assertEqual(pos.get(wid), [10, 0])
|
||||
|
||||
pos.get(wid)[:] = (20, 30)
|
||||
self.assertEqual(pos.get(wid), [20, 30])
|
||||
|
||||
def test_dict(self):
|
||||
from kivy.properties import DictProperty
|
||||
|
||||
|
|
Loading…
Reference in New Issue