remove comments

This commit is contained in:
Simon 2024-05-21 21:17:45 +02:00
parent a1e3512bab
commit ed3183b42c
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ def test_randomizor_with_positive_length():
def test_date_parser_with_int():
"""unix timestamp"""
timestamp = 1621539600 # May 21, 2021
timestamp = 1621539600
expected_date = "2021-05-20"
assert date_parser(timestamp) == expected_date
@ -41,7 +41,7 @@ def test_date_parser_with_invalid_input():
def test_date_parser_with_invalid_string_format():
"""invalid date string"""
invalid_date_str = "21/05/2021" # Invalid format
invalid_date_str = "21/05/2021"
with pytest.raises(ValueError):
date_parser(invalid_date_str)