File: use-python3-shebang-in-tests

package info (click to toggle)
valinor 1.1.4-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 320 kB
  • sloc: python: 428; makefile: 24; sh: 7
file content (37 lines) | stat: -rw-r--r-- 954 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
33
34
35
36
37
Description: Replace shebang in test files with python3
Author: Nick Morrott <nickm@debian.org>
Forwarded: not-needed
Last-Update: 2021-01-10
---
--- a/valinor/gdb.py
+++ b/valinor/gdb.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Copyright 2015 ARM Limited
 #
 # Licensed under the Apache License, Version 2.0
--- a/valinor/ide_detection.py
+++ b/valinor/ide_detection.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Copyright 2015 ARM Limited
 #
 # Licensed under the Apache License, Version 2.0
--- a/valinor/test/cli.py
+++ b/valinor/test/cli.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Copyright 2014-2015 ARM Limited
 #
 # Licensed under the Apache License, Version 2.0
--- a/valinor/test/test_outputdir.py
+++ b/valinor/test/test_outputdir.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Copyright 2014-2015 ARM Limited
 #
 # Licensed under the Apache License, Version 2.0