Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pvk-developer committed Sep 12, 2024
1 parent 2a8d014 commit 9f703c5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/unit/transformers/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,7 @@ def test_warn_dict():
instance['text'] = 'text_transformer'

# Run
warning_msg = (
"The sdtype 'text' is deprecated and will be phased out. Please use 'id' instead."
)

warning_msg = "The sdtype 'text' is deprecated and will be phased out. Please use 'id' instead."
with pytest.warns(DeprecationWarning, match=warning_msg):
result_access = instance['text']

Expand Down

0 comments on commit 9f703c5

Please sign in to comment.