File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ def detect_language(self, *values):
105105 :raises: :class:`ValueError <exceptions.ValueError>` if the number of
106106 detections is not equal to the number of values.
107107 :class:`ValueError <exceptions.ValueError>` if a value
108- produces a list of detections with 0 or multiple results in it.
108+ produces a list of detections with 0 or multiple results
109+ in it.
109110 """
110111 query_params = [('key' , self .key )]
111112 query_params .extend (('q' , _to_bytes (value , 'utf-8' ))
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ def test_detect_language_multiple_results(self):
235235 'detections' : [[detection1 , detection2 ]],
236236 },
237237 }
238- conn = client .connection = _Connection (data )
238+ client .connection = _Connection (data )
239239
240240 with self .assertRaises (ValueError ):
241241 client .detect_language (value )
You can’t perform that action at this time.
0 commit comments