Package list python-pauvre / 33526e1
patch to provide arguments to lsi test Etienne Mollier 2 years ago
2 changed file(s) with 22 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Description: inject arguments in test script
1 The script expects a few arguments which are not passed by the testing
2 infrastructure. This breaks the test. The integer value in sys.argv[1] is
3 picked at random, but could be subject to discussion.
4 Author: √Čtienne Mollier <etienne.mollier@mailoo.org>
5 Forwarded: not-needed
6 Last-Update: 2020-04-26
7 ---
8 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
9 --- python-pauvre.orig/pauvre/lsi/test.py
10 +++ python-pauvre/pauvre/lsi/test.py
11 @@ -10,6 +10,9 @@
12
13 ev = 0.00000001
14
15 +sys.argv[1] = '10'
16 +sys.argv[2] = None
17 +
18 def scale(i):
19 return float(i)
20
00 2to3.patch
11 typo-redwood.patch
2 lsi-test-args.patch