Skip to content

test_datetime fails with a --forever argument #120782

Closed
@Eclips4

Description

@Eclips4

Bug report

Bug description:

Output:

...many lines
test_resolution_info (test.datetimetester.TestTime_Fast.test_resolution_info) ... FAIL

======================================================================
FAIL: test_resolution_info (test.datetimetester.TestTime_Fast.test_resolution_info)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/admin/Projects/cpython/Lib/test/datetimetester.py", line 3685, in test_resolution_info
    self.assertIsInstance(self.theclass.max, self.theclass)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: -1224 is not an instance of <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