Commit d231598
committed
[FIX] mock.patch(auto_spec=True) does not exist
There is no parameter auto_spec to mock.patch. This is likely a typo.
Running the tests with Python 3.12 give a RuntimeError
```
File "/usr/local/lib/python3.12/unittest/mock.py", line 1311, in __init__
_check_spec_arg_typos(kwargs)
File "/usr/local/lib/python3.12/unittest/mock.py", line 1287, in _check_spec_arg_typos
raise RuntimeError(
RuntimeError: 'auto_spec' might be a typo.
```1 parent b7b20b0 commit d231598
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
| |||
0 commit comments