testinggtk r205 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r205 - trunk/tests
- Date: Sat, 21 Jun 2008 17:48:31 +0000 (UTC)
Author: bjornl
Date: Sat Jun 21 17:48:31 2008
New Revision: 205
URL: http://svn.gnome.org/viewvc/testinggtk?rev=205&view=rev
Log:
Add segfaulting test for deleting items in the store
Modified:
trunk/tests/test_liststore.py
Modified: trunk/tests/test_liststore.py
==============================================================================
--- trunk/tests/test_liststore.py (original)
+++ trunk/tests/test_liststore.py Sat Jun 21 17:48:31 2008
@@ -109,4 +109,16 @@
except ValueError:
assert True
+def test_append_and_del_items():
+ '''
+ Ensure that deleting the last item in a ``gtk.ListStore`` using
+ del store[-1] works.
+ Disabled due to segfault.
+
+ :bug: #537459
+ '''
+ # model = gtk.ListStore(int)
+ # for i in range(500):
+ # model.append((i,))
+ # del model[-1]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]