From fa372ed4a1e76c7d34813c464e8c763dae46d542 Mon Sep 17 00:00:00 2001 From: CodyCBakerPhD Date: Fri, 26 Jul 2024 09:51:48 -0400 Subject: [PATCH] style --- tests/test_output_sorting.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_output_sorting.py b/tests/test_output_sorting.py index 02dd92e..901b200 100644 --- a/tests/test_output_sorting.py +++ b/tests/test_output_sorting.py @@ -5,7 +5,7 @@ import datetime SEED = 0 -random.seed(seed=SEED) +random.seed(SEED) def _generate_random_datetime() -> datetime.datetime: @@ -19,7 +19,7 @@ def _generate_random_datetime() -> datetime.datetime: minute = random.randint(0, 59) second = random.randint(0, 59) - result = datetime(year=year, month=month, day=day, hour=hour, minute=minute, second=second) + result = datetime.datetime(year=year, month=month, day=day, hour=hour, minute=minute, second=second) return result @@ -30,7 +30,7 @@ def _generate_random_datetimes(number_of_elements: int) -> list[datetime.datetim @pytest.fixture(scope="session") -def unordered_output_file_content(tmp_path_factory: pytest.TempPathFactory) -> list[str]: +def unordered_output_file_content(tmp_path_factory: pytest.TempPathFactory) -> list[list[str]]: """Generate file content equivalent to an unordered output file.""" example_output_file_path = ( pathlib.Path(__file__).parent