Commit 357db709 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fix E712 flake8 warning (x1).

parent f9c5317d
......@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment