Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f985fc2

Browse files
committed
Display the pygobject and glib versions when testing any of the Gtk* backends.
svn path=/trunk/matplotlib/; revision=3485
1 parent e6f8434 commit f985fc2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

unit/memleak_gui.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@
7878
backend = options.backend.lower()
7979
if backend.startswith("gtk"):
8080
import gtk
81-
print "# pygtk version: %s, gtk version: %s" % \
82-
(gtk.pygtk_version, gtk.gtk_version)
81+
import gobject
82+
print "# pygtk version: %s, gtk version: %s, pygobject version: %s, glib version: %s" % \
83+
(gtk.pygtk_version, gtk.gtk_version,
84+
gobject.pygobject_version, gobject.glib_version)
8385
elif backend.startswith("qt4"):
8486
import PyQt4.pyqtconfig
8587
print "# PyQt4 version: %s, Qt version %x" % \

0 commit comments

Comments
 (0)