Skip to content

Commit c0dfbd7

Browse files
committed
Add comment to explain why we need this file
1 parent 119b900 commit c0dfbd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dateparser/custom_language_detection/fasttext_wrapper.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def check(entry):
2727
else:
2828
probs, labels = ([], ())
2929

30+
# Using np.asarray(probs) to avoid errors in the test
3031
return labels, np.asarray(probs)
3132

3233

0 commit comments

Comments
 (0)