Skip to content

test: fix ping test on windows - #350

Open
Mockird31 wants to merge 1 commit into
masterfrom
mockird31/gh-214-fix-ping-test
Open

test: fix ping test on windows#350
Mockird31 wants to merge 1 commit into
masterfrom
mockird31/gh-214-fix-ping-test

Conversation

@Mockird31

@Mockird31 Mockird31 commented Aug 31, 2026

Copy link
Copy Markdown

The ping method measures the duration using the time.perf_counter()
function. It has the same resolution as time.time() on Unix, but
provides higher resolution on Windows.

Closes #214

@Mockird31
Mockird31 force-pushed the mockird31/gh-214-fix-ping-test branch from 182de0b to 9144dce Compare August 31, 2026 13:55
The `ping` method measures the duration using the `time.perf_counter()`
function. It has the same resolution as `time.time()` on Unix, but
provides higher resolution on Windows.

Closes #214
@Mockird31
Mockird31 force-pushed the mockird31/gh-214-fix-ping-test branch from 9144dce to e8cdc4e Compare August 31, 2026 14:24
@Mockird31
Mockird31 marked this pull request as ready for review September 1, 2026 11:38
@Mockird31
Mockird31 requested review from bigbes and sssciel September 1, 2026 11:39
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.

Ping test fails because of Windows time precision

1 participant