Commits

Ronny Pfannschmidt committed c5c8e1c

propper visible function for the fail view

Comments (0)

Files changed (1)

pytest_gui/gtkui/filefails.py

         ])
         self.collection.set_headers_visible(False)
         self.collection.show()
+        self.collection.set_visible_func(lambda x:x and x.outcome != 'passed')
         self.coll_scroll = gtk.ScrolledWindow()
         self.coll_scroll.add(self.collection)