diff options
author | Miroslav Šedivý <[email protected]> | 2022-11-20 20:14:25 +0100 |
---|---|---|
committer | Miroslav Šedivý <[email protected]> | 2022-11-20 20:14:25 +0100 |
commit | 762861f3447698c6954016cf003758693dcc8bcc (patch) | |
tree | a43554b51e631bc62aa622fb0cf422d372303caa /tests/test_account.py | |
parent | 98760f650bcaafedead3f0b6e2b0c594ab857338 (diff) | |
download | mastodon.py-762861f3447698c6954016cf003758693dcc8bcc.tar.gz |
refactor: use is for None
Diffstat (limited to 'tests/test_account.py')
-rw-r--r-- | tests/test_account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_account.py b/tests/test_account.py index 6f3b9a5..be48646 100644 --- a/tests/test_account.py +++ b/tests/test_account.py | |||
@@ -252,7 +252,7 @@ def test_featured_tags(api): | |||
252 | assert featured_tag_list[0].name == "coolfree" | 252 | assert featured_tag_list[0].name == "coolfree" |
253 | assert "url" in featured_tag_list[0] | 253 | assert "url" in featured_tag_list[0] |
254 | finally: | 254 | finally: |
255 | if not featured_tag is None: | 255 | if featured_tag is not None: |
256 | api.featured_tag_delete(featured_tag) | 256 | api.featured_tag_delete(featured_tag) |
257 | api.featured_tag_delete(featured_tag_2) | 257 | api.featured_tag_delete(featured_tag_2) |
258 | 258 | ||