aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2022-11-21 20:17:18 +0200
committerGitHub <[email protected]>2022-11-21 20:17:18 +0200
commit943782afc394f52377223fb6b777946d5b2148ff (patch)
tree7fd8ad2031c281ac2a7cbc297fb20edd2fa4152e /tests/test_notifications.py
parent98760f650bcaafedead3f0b6e2b0c594ab857338 (diff)
parentf04d57acbc5ef639c0dc70fde800cf5c24d0b967 (diff)
downloadmastodon.py-943782afc394f52377223fb6b777946d5b2148ff.tar.gz
Merge pull request #269 from eumiro/none_identity
Refactor: use is for None/True/False
Diffstat (limited to 'tests/test_notifications.py')
-rw-r--r--tests/test_notifications.py2
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()
Powered by cgit v1.2.3 (git 2.41.0)