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_media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_media.py') diff --git a/tests/test_media.py b/tests/test_media.py index 7a358dd..9668f59 100644 --- a/tests/test_media.py +++ b/tests/test_media.py @@ -45,7 +45,7 @@ def test_media_post(api, sensitive): time.sleep(10) media2 = api.media(media) assert media2.id == media.id - assert not media2.url is None + assert media2.url is not None status = api.status_post( 'LOL check this out', -- cgit v1.2.3