mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 04:02:35 +03:00
Update tests/test_fields.py
Co-authored-by: Rodolfo Becerra <44782644+rodolvbg@users.noreply.github.com>
This commit is contained in:
parent
ebedc594b3
commit
552d128553
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user