1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

change test outputs to sample_outputs/ so that it shows up on git

This commit is contained in:
Jack Morris
2020-04-29 13:43:09 -04:00
parent 995eb81bed
commit 73dea51b35
8 changed files with 4154 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ def check_gpu_count():
print(f'Error: detected 0 GPUs. Must run local tests with multiple GPUs. Perhaps you need to configure CUDA?')
register_test(check_gpu_count, name='check CUDA',
output_file='local_tests/outputs/empty_file.txt',
output_file='local_tests/sample_outputs/empty_file.txt',
desc='Makes sure CUDA is enabled, properly configured, and detects at least 1 GPU')
#
@@ -36,5 +36,5 @@ def import_textattack():
import textattack
register_test(import_textattack, name='import textattack',
output_file='local_tests/outputs/empty_file.txt',
output_file='local_tests/sample_outputs/empty_file.txt',
desc='Makes sure the textattack module can be imported')