-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: Fix flaky test and don't fail fast (#20)
Add `fail-fast` such that all `python` versions will finish before exiting. Add `pytest-rerunfailures` for the flaky test. Fixes: #19 Reviewed-by: @ntessore
- Loading branch information
1 parent
6231aa7
commit 146326e
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import pytest | ||
|
||
|
||
@pytest.mark.flaky(reruns=2) | ||
def test_kmeans_sample(): | ||
import numpy as np | ||
|
||
|