From 93d44e215e5f3f727298d58e1a42a9b8513b2630 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 01:38:15 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks --- test/test_Likelihood/test_los_distribution.py | 9 ++++++--- test/test_Sampling/test_ParamManager/test_los_param.py | 1 - 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/test/test_Likelihood/test_los_distribution.py b/test/test_Likelihood/test_los_distribution.py index a611aa0..3ac5434 100644 --- a/test/test_Likelihood/test_los_distribution.py +++ b/test/test_Likelihood/test_los_distribution.py @@ -122,7 +122,10 @@ def test_draw_bool(self): class TestRaise(unittest.TestCase): def test_raise(self): with self.assertRaises(ValueError): - los = LOSDistribution(kappa_pdf=None, kappa_bin_edges=None, - global_los_distribution=0, - los_distributions=["BAD"]) + los = LOSDistribution( + kappa_pdf=None, + kappa_bin_edges=None, + global_los_distribution=0, + los_distributions=["BAD"], + ) los.draw_los(kwargs_los=[{}]) diff --git a/test/test_Sampling/test_ParamManager/test_los_param.py b/test/test_Sampling/test_ParamManager/test_los_param.py index dfb280c..3715c4d 100644 --- a/test/test_Sampling/test_ParamManager/test_los_param.py +++ b/test/test_Sampling/test_ParamManager/test_los_param.py @@ -88,6 +88,5 @@ def test_raise(self): ) - if __name__ == "__main__": pytest.main()