From 762861f3447698c6954016cf003758693dcc8bcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= <6774676+eumiro@users.noreply.github.com> Date: Sun, 20 Nov 2022 20:14:25 +0100 Subject: refactor: use is for None --- tests/test_notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_notifications.py') 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): api.verify_minimum_version("2.9.2", cached=False) api.notifications_dismiss(notifications[0]) finally: - if not status is None: + if status is not None: api2.status_delete(status) @pytest.mark.vcr() -- cgit v1.2.3