Commit 57a85c1
authored
[BUG] explicit encoding for file open to avoid failures on windows (#685)
## Change(s)
modified tests in `src\tests\connectors\zenodo\mock_zenodo.py` to
explicitly sprcify the encoding `encoding="utf-8"` for file open.
Change Type: Fixed
## How to Test
run this command:
```bash
pytest src/tests/
```
before this fix, there would be a encoding error thrown (in windows
only. linux does not have this issue)
## Related Issues
#6831 parent 47cb387 commit 57a85c1
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments