MCPcopy Index your code
hub / github.com/encode/django-rest-framework / test_not_callable

Method test_not_callable

tests/test_fields.py:89–90  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

87
88 @pytest.mark.parametrize('obj', (True, None, "str", b'bytes', 123, 1.23))
89 def test_not_callable(self, obj):
90 assert not is_simple_callable(obj)
91
92 def test_4602_regression(self):
93 from django.db import models

Callers

nothing calls this directly

Calls 1

is_simple_callableFunction · 0.90

Tested by

no test coverage detected