SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,15 @@
our strftime doesn't error out with %-d but just outputs -d rather
than doing whatever this test wants
Index: dateutil/test/test_parser.py
--- dateutil/test/test_parser.py.orig
+++ dateutil/test/test_parser.py
@@ -104,6 +104,8 @@ PARSER_TEST_CASES = [
# Check that we don't have any duplicates
assert len(set([x[0] for x in PARSER_TEST_CASES])) == len(PARSER_TEST_CASES)
+if sys.platform.startswith('openbsd'):
+ PLATFORM_HAS_DASH_D = False
@pytest.mark.parametrize("parsable_text,expected_datetime,assertion_message", PARSER_TEST_CASES)
def test_parser(parsable_text, expected_datetime, assertion_message):