From ea08360bec24799699bc7288ee376fbbac1a82a9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 21 Mar 2018 08:37:50 +0100 Subject: python-lmfit: 0.9.8-1 -> 0.9.9-1 --- python-lmfit/test.patch | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 python-lmfit/test.patch (limited to 'python-lmfit/test.patch') 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()) -- cgit v1.2.3-70-g09d2