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_notifications.py | |
parent | 98760f650bcaafedead3f0b6e2b0c594ab857338 (diff) | |
download | mastodon.py-762861f3447698c6954016cf003758693dcc8bcc.tar.gz |
refactor: use is for None
Diffstat (limited to 'tests/test_notifications.py')
-rw-r--r-- | tests/test_notifications.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_notifications.py b/tests/test_notifications.py index 6e761ce..858bad4 100644 --- a/tests/test_notifications.py +++ b/tests/test_notifications.py | |||
@@ -29,7 +29,7 @@ def test_notifications_dismiss_pre_2_9_2(api, api2): | |||
29 | api.verify_minimum_version("2.9.2", cached=False) | 29 | api.verify_minimum_version("2.9.2", cached=False) |
30 | api.notifications_dismiss(notifications[0]) | 30 | api.notifications_dismiss(notifications[0]) |
31 | finally: | 31 | finally: |
32 | if not status is None: | 32 | if status is not None: |
33 | api2.status_delete(status) | 33 | api2.status_delete(status) |
34 | 34 | ||
35 | @pytest.mark.vcr() | 35 | @pytest.mark.vcr() |