Skip to content

test_datetime fails with a --forever argument #120782

Description

@Eclips4

Bug report

Bug description:

Output:

...manylinestest_resolution_info (test.datetimetester.TestTime_Fast.test_resolution_info) ... FAIL======================================================================FAIL: test_resolution_info (test.datetimetester.TestTime_Fast.test_resolution_info)
----------------------------------------------------------------------Traceback (mostrecentcalllast):
File"/Users/admin/Projects/cpython/Lib/test/datetimetester.py", line3685, intest_resolution_infoself.assertIsInstance(self.theclass.max, self.theclass)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError: -1224isnotaninstanceof<class'datetime.time'>

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions