1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Diane Trout <diane@ghic.org>
Date: Mon, 15 Dec 2025 17:00:05 +1100
Subject: By default Debian doesn't have a python executable installed
Forwarded: no (This is more to comply with our environment, than a general
upstream issue)
use the default python3 name instead.
---
numba/tests/test_cli.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/numba/tests/test_cli.py b/numba/tests/test_cli.py
index 37b1dce..e0d4431 100644
--- a/numba/tests/test_cli.py
+++ b/numba/tests/test_cli.py
@@ -267,7 +267,7 @@ class TestGDBCLIInfoBrokenGdbs(TestCase):
def test_nonsense_gdb_binary(self):
# Tests that a nonsense binary specified as gdb it picked up ok
env = os.environ.copy()
- env['NUMBA_GDB_BINARY'] = 'python' # 'python' isn't gdb!
+ env['NUMBA_GDB_BINARY'] = sys.executable # 'python' isn't gdb!
cmdline = [sys.executable, "-m", "numba", "-g"]
stdout, stderr = run_cmd(cmdline, env=env)
self.assertIn("Testing gdb binary failed", stdout)
|