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:
@@ -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')
|
||||
Reference in New Issue
Block a user