3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

test-runner: pass **kwargs in dbg()

This commit is contained in:
James Prestwood 2021-08-12 16:07:15 -07:00 committed by Denis Kenzior
parent c23c37c07c
commit 89bddf551a

View File

@ -46,11 +46,11 @@ TEST_MAX_TIMEOUT = 120
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
def dbg(*s):
def dbg(*s, **kwargs):
'''
Allows prints if stdout has been re-directed
'''
print(*s, file=sys.__stdout__)
print(*s, **kwargs, file=sys.__stdout__)
def exit_vm():
if config: