From f28c785d646044d218713525aadc9f58a87335d3 Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Wed, 15 Apr 2020 15:36:00 +0200 Subject: [PATCH] Bugfix: test_calcNoise() --- tests/test_BlackBodyTarget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_BlackBodyTarget.py b/tests/test_BlackBodyTarget.py index 191e0c6..2c68cf2 100644 --- a/tests/test_BlackBodyTarget.py +++ b/tests/test_BlackBodyTarget.py @@ -18,5 +18,5 @@ class TestBlackBodyTarget(TestCase): def test_noise(self): noise = SpectralQty(np.arange(400, 800, 100) << u.nm, - [0.] * 10 << u.W / (u.m ** 2 * u.nm * u.sr)) + [0.] * 4 << u.W / (u.m ** 2 * u.nm * u.sr)) self.assertEqual(self.target.calcNoise(), noise)