(cls, timestamp, tzinfo=None)
| 64 | class _windows_datetime(datetime): |
| 65 | @classmethod |
| 66 | def fromtimestamp(cls, timestamp, tzinfo=None): |
| 67 | if timestamp < 0: |
| 68 | raise OSError("[Errno 22] Invalid argument") |
| 69 | return datetime.fromtimestamp(timestamp, tzinfo) |
| 70 | |
| 71 | |
| 72 | @pytest.fixture(scope="function") |
no outgoing calls
no test coverage detected