From 4dfe7aaacc4ef36589dca05c7841f4ce5d0cf791 Mon Sep 17 00:00:00 2001 From: yunfan Date: Fri, 14 Sep 2018 12:38:38 +0800 Subject: [PATCH] format test folder --- {test => examples}/readme_example.py | 0 test/{ => core}/test_metrics.py | 0 test/{ => core}/test_tester.py | 0 test/{test_loader.py => loader/test_loader2.py} | 0 test/{ => model}/seq_labeling.py | 0 test/{ => model}/test_charlm.py | 0 test/{ => model}/test_cws.py | 0 test/{ => model}/text_classify.py | 0 test/test_trainer.py | 6 ------ 9 files changed, 6 deletions(-) rename {test => examples}/readme_example.py (100%) rename test/{ => core}/test_metrics.py (100%) rename test/{ => core}/test_tester.py (100%) rename test/{test_loader.py => loader/test_loader2.py} (100%) rename test/{ => model}/seq_labeling.py (100%) rename test/{ => model}/test_charlm.py (100%) rename test/{ => model}/test_cws.py (100%) rename test/{ => model}/text_classify.py (100%) delete mode 100644 test/test_trainer.py diff --git a/test/readme_example.py b/examples/readme_example.py similarity index 100% rename from test/readme_example.py rename to examples/readme_example.py diff --git a/test/test_metrics.py b/test/core/test_metrics.py similarity index 100% rename from test/test_metrics.py rename to test/core/test_metrics.py diff --git a/test/test_tester.py b/test/core/test_tester.py similarity index 100% rename from test/test_tester.py rename to test/core/test_tester.py diff --git a/test/test_loader.py b/test/loader/test_loader2.py similarity index 100% rename from test/test_loader.py rename to test/loader/test_loader2.py diff --git a/test/seq_labeling.py b/test/model/seq_labeling.py similarity index 100% rename from test/seq_labeling.py rename to test/model/seq_labeling.py diff --git a/test/test_charlm.py b/test/model/test_charlm.py similarity index 100% rename from test/test_charlm.py rename to test/model/test_charlm.py diff --git a/test/test_cws.py b/test/model/test_cws.py similarity index 100% rename from test/test_cws.py rename to test/model/test_cws.py diff --git a/test/text_classify.py b/test/model/text_classify.py similarity index 100% rename from test/text_classify.py rename to test/model/text_classify.py diff --git a/test/test_trainer.py b/test/test_trainer.py deleted file mode 100644 index a0585173..00000000 --- a/test/test_trainer.py +++ /dev/null @@ -1,6 +0,0 @@ -def test_trainer(): - pass - - -if __name__ == "__main__": - test_trainer()