From 1071d5989e74d70785ae8b9acd4b90c0880d79e2 Mon Sep 17 00:00:00 2001 From: koba-e964 <3303362+koba-e964@users.noreply.github.com> Date: Wed, 21 Feb 2024 09:47:13 +0900 Subject: [PATCH] opiton -> option --- onlinejudge_command/subcommand/test.py | 2 +- tests/command_login.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/onlinejudge_command/subcommand/test.py b/onlinejudge_command/subcommand/test.py index 8b058968..4945a7a7 100644 --- a/onlinejudge_command/subcommand/test.py +++ b/onlinejudge_command/subcommand/test.py @@ -338,7 +338,7 @@ def run(args: 'argparse.Namespace') -> int: history += [test_single_case(name, paths['in'], paths.get('out'), args=args)] else: if os.name == 'nt': - logger.warning("-j/--jobs opiton is unstable on Windows environment") + logger.warning("-j/--jobs option is unstable on Windows environment") with concurrent.futures.ThreadPoolExecutor(max_workers=args.jobs) as executor: lock = threading.Lock() futures: List[concurrent.futures.Future] = [] diff --git a/tests/command_login.py b/tests/command_login.py index bb3c6b06..94868ecd 100644 --- a/tests/command_login.py +++ b/tests/command_login.py @@ -8,7 +8,7 @@ from onlinejudge.service.yukicoder import YukicoderService -# TODO: add tests for login without `--check` opiton. Copy credentials used in tests https://github.com/online-judge-tools/api-client and write tests. +# TODO: add tests for login without `--check` option. Copy credentials used in tests https://github.com/online-judge-tools/api-client and write tests. class LoginCheckTest(unittest.TestCase): def snippet_call_login_check_failure(self, url): with tests.utils.sandbox(files=[]) as _: