Commit 5f1a8fa
committed
Fix: refactor TestOpponent class to resolve PytestCollectionWarning
- Changed TestOpponent class to no longer use __init__ constructor
- This fixes the PytestCollectionWarning in axelrod/tests/strategies/test_player.py:353
- This modification allows the test to run without issues.
See also: #14401 parent 4be07a7 commit 5f1a8fa
1 file changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
1 | 22 | | |
2 | 23 | | |
3 | 24 | | |
| |||
0 commit comments