Skip to content

Commit

Permalink
Unit test for deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherwin-14 committed Jul 26, 2024
1 parent 9394efd commit bcdb0cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/test_deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def test_deprecation_warning_for_api():
assert issubclass(w[0].category, DeprecationWarning)
assert "Use get_s3_filesystem instead" in str(w[0].message)


def test_deprecation_warning_for_store(auth):
store = Store(auth)
with warnings.catch_warnings(record=True) as w:
Expand All @@ -60,5 +61,3 @@ def test_deprecation_warning_for_store(auth):
# Verify some things
assert issubclass(w[0].category, DeprecationWarning)
assert "Use get_s3_filesystem instead" in str(w[0].message)


0 comments on commit bcdb0cc

Please sign in to comment.