Commit 4ff59f6
authored
rstest parametrizing for threading test cases (#582)
Changed tests to use the rstest #571.
On my machine it makes the test (`--release`) run about 40% faster (2.8s
to 1.6s)
Places where the pattern was `let tests = [...]` with only one test
case, I changed to use rstest, since this makes adding more test cases
easier. I assumed that was the reason for the `tests` variable being
there despite there only being one test case.1 parent e51df00 commit 4ff59f6
File tree
5 files changed
+760
-628
lines changed- src
- tests
5 files changed
+760
-628
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments