[glib: 10/12] tests/gobject-query: it is not a script (anymore?)




commit fdfe94fb1657a45e321c6ec2f87ded45c9454778
Author: Marc-André Lureau <marcandre lureau redhat com>
Date:   Fri Oct 14 17:13:31 2022 +0400

    tests/gobject-query: it is not a script (anymore?)
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 gobject/tests/gobject-query.py | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/gobject/tests/gobject-query.py b/gobject/tests/gobject-query.py
index 094f37d3c3..0325f70d23 100644
--- a/gobject/tests/gobject-query.py
+++ b/gobject/tests/gobject-query.py
@@ -55,12 +55,6 @@ class TestGobjectQuery(unittest.TestCase):
 
     def runGobjectQuery(self, *args):
         argv = [self.__gobject_query]
-
-        # shebang lines are not supported on native
-        # Windows consoles
-        if os.name == "nt":
-            argv.insert(0, sys.executable)
-
         argv.extend(args)
         print("Running:", argv)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]