testinggtk r354 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r354 - trunk/tests
- Date: Sun, 3 Aug 2008 02:35:33 +0000 (UTC)
Author: bjornl
Date: Sun Aug 3 02:35:33 2008
New Revision: 354
URL: http://svn.gnome.org/viewvc/testinggtk?rev=354&view=rev
Log:
Reenabling segfaulting test that has been fixed
Modified:
trunk/tests/test_pixbuf_loading.py
Modified: trunk/tests/test_pixbuf_loading.py
==============================================================================
--- trunk/tests/test_pixbuf_loading.py (original)
+++ trunk/tests/test_pixbuf_loading.py Sun Aug 3 02:35:33 2008
@@ -2,7 +2,9 @@
Tests for loading ``gdk.Pixbuf`` objects from data.
'''
from gtk import gdk
+import utils
+ utils pass_on_warnings
def test_load_from_xpm():
'''
Ensure that gdk-pixbuf does not crasch when you try to construct a
@@ -10,4 +12,8 @@
:bug: #467051
'''
- #xpm = gdk.pixbuf_new_from_xpm_data([])
+ try:
+ xpm = gdk.pixbuf_new_from_xpm_data([])
+ assert False
+ except IOError:
+ assert True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]