Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commitc569320
committed
Make an old mock.patch.dict on os.environ clearer
This clarifies that the object's contents are patched, rather thanpatching the attribute used to get the object in the first place.It is also in keeping with the style of patching os.environelsewhere in the test suite.1 parent98877c5 commitc569320
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
248 |
| - | |
| 248 | + | |
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
|
0 commit comments
Comments
(0)