[med-svn] [Git][med-team/python-pauvre][master] patch to provide arguments to lsi test

Étienne Mollier gitlab at salsa.debian.org
Sun Apr 26 14:57:44 BST 2020



Étienne Mollier pushed to branch master at Debian Med / python-pauvre


Commits:
33526e17 by Etienne Mollier at 2020-04-26T15:57:13+02:00
patch to provide arguments to lsi test

- - - - -


2 changed files:

- + debian/patches/lsi-test-args.patch
- debian/patches/series


Changes:

=====================================
debian/patches/lsi-test-args.patch
=====================================
@@ -0,0 +1,21 @@
+Description: inject arguments in test script
+ The script expects a few arguments which are not passed by the testing
+ infrastructure.  This breaks the test.  The integer value in sys.argv[1] is
+ picked at random, but could be subject to discussion.
+Author: Étienne Mollier <etienne.mollier at mailoo.org>
+Forwarded: not-needed
+Last-Update: 2020-04-26
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- python-pauvre.orig/pauvre/lsi/test.py
++++ python-pauvre/pauvre/lsi/test.py
+@@ -10,6 +10,9 @@
+ 
+ ev = 0.00000001
+ 
++sys.argv[1] = '10'
++sys.argv[2] = None
++
+ def scale(i):
+ 	return float(i)
+ 


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 2to3.patch
 typo-redwood.patch
+lsi-test-args.patch



View it on GitLab: https://salsa.debian.org/med-team/python-pauvre/-/commit/33526e17575b6ef4681883eb1cae849d075c6fe8

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pauvre/-/commit/33526e17575b6ef4681883eb1cae849d075c6fe8
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200426/dabed8e9/attachment.html>


More information about the debian-med-commit mailing list