Skip to content

Commit

Permalink
After review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Raalsky committed Oct 6, 2022
1 parent 162b9ef commit a243b82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/neptune/new/internal/utils/test_deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ def test_conflict(self):
def test_passing_deprecated_parameter_as_none(self):
# pylint: disable=unexpected-keyword-arg
# pylint: disable=missing-kwoa
assert fun_with_deprecated_param(deprecated_param=None) is None

with pytest.raises(NeptuneParametersCollision):
value = fun_with_deprecated_param(new_param=None, deprecated_param=None)
assert value is None
Expand Down

0 comments on commit a243b82

Please sign in to comment.