Commit a700314
committed
Fix test issues and optimize test execution
- Fixed 'TestOpponent' import error in 'test_sequence_player.py'.
- Refactored test classes with '__init__' constructors to avoid PytestCollectionWarning.
- Addressed UserWarnings in 'test_memoryone.py' and 'test_memorytwo.py' related to default player settings.
- Handled seed reproducibility warning in 'test_player.py' to ensure deterministic test results.
- Investigated RuntimeWarning in 'test_zero_determinant.py' related to invalid division.
- Optimized test execution time by running tests in parallel using pytest-xdist.
- Addressed minor warnings related to test strategies and examples.1 parent 7244e8d commit a700314
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments