From ed3183b42c98c280966621e0fd99fe5407328cb2 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 21 May 2024 21:17:45 +0200 Subject: [PATCH] remove comments --- tubearchivist/home/tests/test_ta/test_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tubearchivist/home/tests/test_ta/test_helper.py b/tubearchivist/home/tests/test_ta/test_helper.py index 23035643..109f4e56 100644 --- a/tubearchivist/home/tests/test_ta/test_helper.py +++ b/tubearchivist/home/tests/test_ta/test_helper.py @@ -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)