Skip to content

Commit

Permalink
Fix False as str in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvallat committed Nov 11, 2023
1 parent aa29357 commit 3cce731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pingouin/tests/test_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_normality(self):
stats = normality(df_small, dv="variable", group="group")
assert np.isnan(stats.loc[[1, 3], "pval"]).all()
assert not np.isnan(stats.loc[[0, 2], "pval"]).all()
assert (stats.loc[[1, 3], "normal"] == "False").all()
assert (~stats.loc[[1, 3], "normal"]).all()

def test_homoscedasticity(self):
"""Test function test_homoscedasticity."""
Expand Down

0 comments on commit 3cce731

Please sign in to comment.