1. Ronny Pfannschmidt
  2. pytest-gui

Commits

Ronny Pfannschmidt  committed fe997f0

whops, its not data_func, its format_func

  • Participants
  • Parent commits 0a53f4d
  • Branches default

Comments (0)

Files changed (1)

File pytest_gui/gtkui/filefails.py

View file
 
     def create_ui(self):
         self.collection = ObjectList([
-            Column('nodeid', data_func=lambda x:x.split('::', 1)[-1]),
+            Column('nodeid',
+                   format_func=lambda x:x.split('::', 1)[-1]),
         ])
         self.collection.set_headers_visible(False)
         self.collection.show()