Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Sep 14, 2023
1 parent 20e61dc commit d495499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def test_raises_deprecation_warning_when_passing_add_bounds_true(self):
assert issubclass(w[0].category, DeprecationWarning)
assert str(w[0].message) == (
"`add_bounds=True` will be deprecated after v0.6.0. Please use a list "
"of axis strings instead (e.g., `add_bounds=['X', 'Y'])."
"of axis strings instead (e.g., `add_bounds=['X', 'Y']`)."
)

expected = generate_dataset(
Expand All @@ -361,7 +361,7 @@ def test_raises_deprecation_warning_when_passing_add_bounds_false(self):
assert issubclass(w[0].category, DeprecationWarning)
assert str(w[0].message) == (
"`add_bounds=False` will be deprecated after v0.6.0. Please use "
"`add_bounds=None`` instead."
"`add_bounds=None` instead."
)

assert result.identical(ds_no_bounds)
Expand Down

0 comments on commit d495499

Please sign in to comment.