Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse Monday #1121

Merged
merged 2 commits into from Jan 11, 2023
Merged

Parse Monday #1121

merged 2 commits into from Jan 11, 2023

Conversation

serhii73
Copy link
Collaborator

Close #1116

@@ -97,7 +97,6 @@ def test_relative_past_dates_with_time_as_period(self, date_string, ago, period)
param('nine hours ago', ago={'hours': 9}, period='day'),
param('three week ago', ago={'weeks': 3}, period='week'),
param('eight months ago', ago={'months': 8}, period='month'),
param('1mon ago', ago={'months': 1}, period='month'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to how there is test_insane_dates and test_dates_not_supported_by_date_time, we could add a test_known_issues that keeps this test case around but expects it to fail, and include a comment pointing to the issue that caused us to break it.

(I thought we were using pytest’s parametrize when I suggested marking this line as an expected failure)

@serhii73 serhii73 changed the title [WIP] Parse Monday Parse Monday Jan 11, 2023
@serhii73 serhii73 merged commit 1db73ee into master Jan 11, 2023
@serhii73 serhii73 mentioned this pull request Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is not parsing properly the Last-Modified header value when is a Monday
2 participants