File: fix_python_command.patch

package info (click to toggle)
python-better-exceptions 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 632 kB
  • sloc: python: 620; sh: 108; makefile: 5
file content (163 lines) | stat: -rw-r--r-- 6,078 bytes parent folder | download
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
Description: use python3 instead of python command
The upstream uses python instead of python3.

Author: Seyed Mohamad Amin Modaresi <modaresisofthard@proton.me>

Forwarded: no

diff --git a/test/output/python3-dumb-UTF-8-color.out b/test/output/python3-dumb-UTF-8-color.out
index 774f852..3edadeb 100644
--- a/test/output/python3-dumb-UTF-8-color.out
+++ b/test/output/python3-dumb-UTF-8-color.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-dumb-UTF-8-nocolor.out b/test/output/python3-dumb-UTF-8-nocolor.out
index 02c390d..d31a16d 100644
--- a/test/output/python3-dumb-UTF-8-nocolor.out
+++ b/test/output/python3-dumb-UTF-8-nocolor.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-dumb-ascii-color.out b/test/output/python3-dumb-ascii-color.out
index af89d92..99545cb 100644
--- a/test/output/python3-dumb-ascii-color.out
+++ b/test/output/python3-dumb-ascii-color.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-dumb-ascii-nocolor.out b/test/output/python3-dumb-ascii-nocolor.out
index 47a1f61..345c98a 100644
--- a/test/output/python3-dumb-ascii-nocolor.out
+++ b/test/output/python3-dumb-ascii-nocolor.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-vt100-UTF-8-color.out b/test/output/python3-vt100-UTF-8-color.out
index 774f852..3edadeb 100644
--- a/test/output/python3-vt100-UTF-8-color.out
+++ b/test/output/python3-vt100-UTF-8-color.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-vt100-UTF-8-nocolor.out b/test/output/python3-vt100-UTF-8-nocolor.out
index 02c390d..d31a16d 100644
--- a/test/output/python3-vt100-UTF-8-nocolor.out
+++ b/test/output/python3-vt100-UTF-8-nocolor.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-vt100-ascii-color.out b/test/output/python3-vt100-ascii-color.out
index af89d92..99545cb 100644
--- a/test/output/python3-vt100-ascii-color.out
+++ b/test/output/python3-vt100-ascii-color.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-vt100-ascii-nocolor.out b/test/output/python3-vt100-ascii-nocolor.out
index 47a1f61..345c98a 100644
--- a/test/output/python3-vt100-ascii-nocolor.out
+++ b/test/output/python3-vt100-ascii-nocolor.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-xterm-UTF-8-color.out b/test/output/python3-xterm-UTF-8-color.out
index 774f852..3edadeb 100644
--- a/test/output/python3-xterm-UTF-8-color.out
+++ b/test/output/python3-xterm-UTF-8-color.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-xterm-UTF-8-nocolor.out b/test/output/python3-xterm-UTF-8-nocolor.out
index 9d8c494..02759c6 100644
--- a/test/output/python3-xterm-UTF-8-nocolor.out
+++ b/test/output/python3-xterm-UTF-8-nocolor.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-xterm-ascii-color.out b/test/output/python3-xterm-ascii-color.out
index af89d92..99545cb 100644
--- a/test/output/python3-xterm-ascii-color.out
+++ b/test/output/python3-xterm-ascii-color.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10
diff --git a/test/output/python3-xterm-ascii-nocolor.out b/test/output/python3-xterm-ascii-nocolor.out
index e6881bf..af22d09 100644
--- a/test/output/python3-xterm-ascii-nocolor.out
+++ b/test/output/python3-xterm-ascii-nocolor.out
@@ -46,7 +46,7 @@ TypeError: unsupported operand type(s) for /: 'int' and 'str'
 ./test/test_interactive.sh
 
 
-spawn python -m better_exceptions -q
+spawn python3 -m better_exceptions -q
 >>> import better_exceptions
 >>> def foo(a):
 ...     assert a > 10