From 50f179cd6965f065466e4459c5b9b98429a12051 Mon Sep 17 00:00:00 2001 From: Serhii A Date: Fri, 24 Jan 2025 12:38:51 +0100 Subject: [PATCH] Check --- dateparser/custom_language_detection/fasttext_wrapper.py | 1 - tests/requirements.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/dateparser/custom_language_detection/fasttext_wrapper.py b/dateparser/custom_language_detection/fasttext_wrapper.py index 48d38a958..ffcea9439 100644 --- a/dateparser/custom_language_detection/fasttext_wrapper.py +++ b/dateparser/custom_language_detection/fasttext_wrapper.py @@ -27,7 +27,6 @@ def check(entry): else: probs, labels = ([], ()) - # Use np.asarray instead of np.array with copy=False return labels, np.asarray(probs) diff --git a/tests/requirements.txt b/tests/requirements.txt index cff9ed253..5367d85e6 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -2,4 +2,3 @@ flake8 parameterized pytest pytest-cov -numpy<2.0