mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 00:04:16 +03:00
Fix docstring formatting
This commit is contained in:
parent
78e8b1b010
commit
b582d52afb
|
@ -318,7 +318,10 @@ class TestCreateOnlyDefault:
|
|||
}
|
||||
|
||||
def test_create_only_default_callable_sets_context(self):
|
||||
""" CreateOnlyDefault instances with a callable default should set_context on the callable if possible """
|
||||
"""
|
||||
CreateOnlyDefault instances with a callable default should set_context
|
||||
on the callable if possible
|
||||
"""
|
||||
class TestCallableDefault:
|
||||
def set_context(self, serializer_field):
|
||||
self.field = serializer_field
|
||||
|
|
Loading…
Reference in New Issue
Block a user