Skip to content

Commit adf125d

Browse files
committed
Remove noparam test
There is no reason to save data and model but not results from fit
1 parent d39634a commit adf125d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/stats/test_stats_utilities.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -276,20 +276,6 @@ def test_save_fit_nomodel():
276276
plt_cfg={'nbins' : 50, 'stacked' : True},
277277
fit_dir=f'{Data.fit_dir}/save_fit/parametric')
278278
#----------------------------------
279-
def test_save_fit_nonparam():
280-
'''
281-
Tests saving fit without parameters
282-
'''
283-
pdf = _get_pdf(kind='simple')
284-
dat = pdf.create_sampler(n=1000)
285-
286-
sut.save_fit(
287-
data =dat,
288-
model =pdf,
289-
res =None,
290-
plt_cfg={'nbins' : 50, 'stacked' : True},
291-
fit_dir=f'{Data.fit_dir}/save_fit/non_parametric')
292-
#----------------------------------
293279
def test_save_fit_param_refreeze():
294280
'''
295281
Tests saving fit with parameters

0 commit comments

Comments
 (0)