From f04d57acbc5ef639c0dc70fde800cf5c24d0b967 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:22:48 +0100 Subject: refactor: use is for True/False --- tests/test_timeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_timeline.py') diff --git a/tests/test_timeline.py b/tests/test_timeline.py index bc6728f..239fac3 100644 --- a/tests/test_timeline.py +++ b/tests/test_timeline.py @@ -60,8 +60,8 @@ def test_conversations(api, api2): assert conversations assert status.id in map(lambda x: x.last_status.id, conversations) assert account.id in map(lambda x: x.accounts[0].id, conversations) - assert conversations[0].unread == True - assert conversations2[0].unread == False + assert conversations[0].unread is True + assert conversations2[0].unread is False @pytest.mark.vcr() def test_min_max_id(api, status): -- cgit v1.2.3