def show_test_item(item):
 tw = item.config.get_terminal_writer()
 tw.line()
 tw.write((' ' * 8))
 tw.write(item._nodeid)
 used_fixtures = sorted(item._fixtureinfo.name2fixturedefs.keys())
 if used_fixtures:
  tw.write(' (fixtures used: {0})'.format(', '.join(used_fixtures)))

def show_test_item ( item ) : tw = item . config . get_terminal_writer ( ) tw . line ( ) tw . write ( ( ' ' * 8 ) ) tw . write ( item . _nodeid ) used_fixtures = sorted ( item . _fixtureinfo . name2fixturedefs . keys ( ) ) if used_fixtures : tw . write ( ' (fixtures used: {0})' . format ( ', ' . join ( used_fixtures ) ) )
show test function .