Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Jul 26, 2024
1 parent f8cf5df commit fa372ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_output_sorting.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import datetime

SEED = 0
random.seed(seed=SEED)
random.seed(SEED)


def _generate_random_datetime() -> datetime.datetime:
Expand All @@ -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


Expand All @@ -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
Expand Down

0 comments on commit fa372ed

Please sign in to comment.