diff --git a/gio/tests/memory-monitor-dbus.py.in b/gio/tests/memory-monitor-dbus.py.in index acbc576ca..b13fdd895 100755 --- a/gio/tests/memory-monitor-dbus.py.in +++ b/gio/tests/memory-monitor-dbus.py.in @@ -18,8 +18,6 @@ import fcntl import os import time -import taptestrunner - try: # Do all non-standard imports here so we can skip the tests if any # needed packages are not available. @@ -111,4 +109,4 @@ except ImportError as e: pass if __name__ == '__main__': - unittest.main(testRunner=taptestrunner.TAPTestRunner()) + unittest.main(testRunner=unittest.TextTestRunner(stream=sys.stdout, verbosity=2)) diff --git a/gio/tests/memory-monitor-portal.py.in b/gio/tests/memory-monitor-portal.py.in index d06fad297..2f4c36897 100755 --- a/gio/tests/memory-monitor-portal.py.in +++ b/gio/tests/memory-monitor-portal.py.in @@ -18,8 +18,6 @@ import fcntl import os import time -import taptestrunner - try: # Do all non-standard imports here so we can skip the tests if any # needed packages are not available. @@ -129,4 +127,4 @@ except ImportError as e: pass if __name__ == '__main__': - unittest.main(testRunner=taptestrunner.TAPTestRunner()) + unittest.main(testRunner=unittest.TextTestRunner(stream=sys.stdout, verbosity=2))