Fix E712 flake8 warning (x1).

This commit is contained in:
Aymeric Augustin committed 2019-12-22 10:59:07 +01:00
1 parent f9c5317db2
commit 357db7098c
1 file changed
+1 -1
+1 -1
View File
@@ -334,7 +334,7 @@ def load_and_cache_examples(args, task, tokenizer, evaluate=False, test=False):
cached_mode = "test"
else:
cached_mode = "train"
assert (evaluate == True and test == True) == False
assert not (evaluate and test)
cached_features_file = os.path.join(
args.data_dir,
"cached_{}_{}_{}_{}".format(