mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
tests/assert-msg-test: it is not a script (anymore?)
Fixes running the program on win32. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
789fd5dfc0
commit
0a4dc17f28
@ -74,10 +74,6 @@ class TestAssertMessage(unittest.TestCase):
|
||||
|
||||
def runAssertMessage(self, *args):
|
||||
argv = [self.__assert_msg_test]
|
||||
# shebang lines are not supported on native
|
||||
# Windows consoles
|
||||
if os.name == "nt":
|
||||
argv.insert(0, sys.executable)
|
||||
argv.extend(args)
|
||||
print("Running:", argv)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user