mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Update test_configuration_common.py (#15160)
This commit is contained in:
parent
51d7ebf260
commit
735d2bb69b
@ -180,7 +180,7 @@ class ConfigTester(object):
|
||||
|
||||
if len(wrong_values) > 0:
|
||||
errors = "\n".join([f"- {v[0]}: got {v[1]} instead of {v[2]}" for v in wrong_values])
|
||||
raise ValueError(f"The following keys were not properly sey in the config:\n{errors}")
|
||||
raise ValueError(f"The following keys were not properly set in the config:\n{errors}")
|
||||
|
||||
def run_common_tests(self):
|
||||
self.create_and_test_config_common_properties()
|
||||
|
Loading…
Reference in New Issue
Block a user