Commit 4352eb3
authored
* refactor: conditional installation of mock (#53)
* (chore): add markers for mock package in pyproject.toml
* (refactor): try to import mock from unittest first
* (refactor): update imports order according to pep08
see: https://peps.python.org/pep-0008/#imports
* refactor: conditional installation of mock (#53)
* (fix): failing tests for python3 < 3.8 caused by mock doesn't define
'__iter__()' method for 'mock_open()'
1 parent a0e9725 commit 4352eb3
2 files changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
0 commit comments