Skip to content

Commit

Permalink
Switching to using n instead of len(lower_w) in the test_gaussian_mod…
Browse files Browse the repository at this point in the history
…el test that pylint was complaining about
  • Loading branch information
dmnapolitano committed Dec 19, 2024
1 parent 50203dc commit 3bd028d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/distributions/test_gaussian_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def test_winsorized_intervals():
lower_n = lower - lower_correction_n[0]
upper_n = upper + upper_correction_n[0]

for i in range(len(lower_w)): # pylint: disable=consider-using-enumerate
for i in range(n):
assert lower_w[i] >= lower_n[i]
assert upper_w[i] <= upper_n[i]

Expand Down

0 comments on commit 3bd028d

Please sign in to comment.