From 552d128553ccd9d565110f2ea0b5e33d182b0cbc Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Fri, 29 Sep 2023 21:33:49 +0600 Subject: [PATCH] Update tests/test_fields.py Co-authored-by: Rodolfo Becerra <44782644+rodolvbg@users.noreply.github.com> --- tests/test_fields.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_fields.py b/tests/test_fields.py index 44aa470d4..d469de544 100644 --- a/tests/test_fields.py +++ b/tests/test_fields.py @@ -42,7 +42,8 @@ utc = datetime.timezone.utc class TestEmptyType: def test_bool_method(self): - assert not bool(empty) + data = empty + assert not data class TestIsSimpleCallable: