From 2497b970910585e74293bf9debb93a95d885c853 Mon Sep 17 00:00:00 2001 From: Ryan P Kilby Date: Sun, 25 Nov 2018 21:01:14 -0800 Subject: [PATCH] Removed trailing whitespace from assertion message --- rest_framework/schemas/inspectors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest_framework/schemas/inspectors.py b/rest_framework/schemas/inspectors.py index aeb19d618..a17a1f1aa 100644 --- a/rest_framework/schemas/inspectors.py +++ b/rest_framework/schemas/inspectors.py @@ -164,8 +164,8 @@ class ViewInspector(object): def view(self): """View property.""" assert self._view is not None, ( - "Schema generation REQUIRES a view instance. (Hint: you accessed `schema` from " - "the view class rather than an instance.) " + "Schema generation REQUIRES a view instance. (Hint: you accessed " + "`schema` from the view class rather than an instance.)" ) return self._view