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_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_hooks.py') diff --git a/tests/test_hooks.py b/tests/test_hooks.py index f0139e5..ab33d4c 100644 --- a/tests/test_hooks.py +++ b/tests/test_hooks.py @@ -32,7 +32,7 @@ def test_date_hook(status): @pytest.mark.vcr() def test_attribute_access(status): - assert status.id != None + assert status.id is not None with pytest.raises(AttributeError): status.id = 420 \ No newline at end of file -- cgit v1.2.3