Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Commitfc02230
committed
Report encoding error in test_add_unicode as error
This makes the test explicitly error out, rather than skipping, ifit appears the environment doesn't support encoding Unicodefilenames. Platforms these days should be capable of that, andreporting it as an error lessens the risk of missing a bug in thetest code (that method or a fixture) if one is ever introduced.Erroring out will also make it easier to see the details in thechained UnicodeDecodeError exception.This does not affect the behavior of GitPython itself. It onlychanges how a test reports an unusual condition that keeps the test\from being usefully run.1 parentc6a586a commitfc02230
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
129 |
| - | |
| 129 | + | |
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
|
0 commit comments
Comments
(0)