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_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_account.py') 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): assert featured_tag_list[0].name == "coolfree" assert "url" in featured_tag_list[0] finally: - if not featured_tag is None: + if featured_tag is not None: api.featured_tag_delete(featured_tag) api.featured_tag_delete(featured_tag_2) -- cgit v1.2.3