Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bitextor/bicleaner-ai.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZJaume <jzaragoza@prompsit.com>2022-09-23 13:35:40 +0300
committerZJaume <jzaragoza@prompsit.com>2022-09-23 13:35:40 +0300
commit02fa0695762f09fc261090cea08d1af455910b4d (patch)
tree68d83b276d0b8408db77615a51cb185f999f8437
parente9bc6d1016ad9aa0e84e0ec135a6961679a21f34 (diff)
Delete args object to avoid interference between teststests
-rw-r--r--tests/bicleaner_ai_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bicleaner_ai_test.py b/tests/bicleaner_ai_test.py
index fd2f365..1746f09 100644
--- a/tests/bicleaner_ai_test.py
+++ b/tests/bicleaner_ai_test.py
@@ -63,6 +63,8 @@ def test_train_full():
assert clf_set['batch_size'] == batch
assert yml['classifier_type'] == classifier_type
+ del args
+
def test_train_lite():
with TemporaryDirectory(prefix='bicleaner-ai-test.') as dir_:
@@ -120,6 +122,8 @@ def test_train_lite():
assert clf_set['vocab_size'] == vocab_size
assert yml['classifier_type'] == classifier_type
+ del args
+
def download_model(filename, url):
''' Download models for classifier test '''