diff options
author | Erich Eckner <git@eckner.net> | 2018-03-21 08:37:50 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-21 08:37:50 +0100 |
commit | ea08360bec24799699bc7288ee376fbbac1a82a9 (patch) | |
tree | cc5a6750482966c3be991669bd818e8a77e6f45b /python-lmfit/test.patch | |
parent | 715ae5622f13dbca824948e824e79dd8a03a36ae (diff) | |
download | archlinuxewe-ea08360bec24799699bc7288ee376fbbac1a82a9.tar.xz |
python-lmfit: 0.9.8-1 -> 0.9.9-1
Diffstat (limited to 'python-lmfit/test.patch')
-rw-r--r-- | python-lmfit/test.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/python-lmfit/test.patch b/python-lmfit/test.patch deleted file mode 100644 index 603fc8707..000000000 --- a/python-lmfit/test.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/tests/test_saveload.py 2018-02-11 15:08:45.000000000 +0100 -+++ b/tests/test_saveload.py 2018-02-23 09:41:17.335712453 +0100 -@@ -14,7 +14,7 @@ - except ImportError: - DILL_AVAILABLE = False - --dat = np.loadtxt(os.path.join('..', 'examples', 'NIST_Gauss2.dat')) -+dat = np.loadtxt(os.path.join(os.path.dirname(__file__), '..', 'examples', 'NIST_Gauss2.dat')) - XDAT = dat[:, 1] - YDAT = dat[:, 0] - ---- a/tests/test_height_fwhm.py 2018-02-11 15:08:45.000000000 +0100 -+++ b/tests/test_height_fwhm.py 2018-02-23 09:41:41.030806931 +0100 -@@ -8,6 +8,7 @@ - from scipy.optimize import fsolve - import sys - -+import os - - # Turn off plotting if run by nosetests. - WITHPLOT = True -@@ -76,7 +76,7 @@ - # sigma = np.sqrt(variance) - # x = np.linspace(mu - 20*sigma, mu + 20*sigma, 100.0) - # y = norm.pdf(x, mu, 1) -- data = np.loadtxt('../examples/test_peak.dat') -+ data = np.loadtxt(os.path.join(os.path.dirname(__file__), '..', 'examples', 'test_peak.dat')) - x = data[:, 0] - y = data[:, 1] - check_height_fwhm(x, y, lineshapes.voigt, models.VoigtModel()) |