Create and return a copy of os.environ with the specified overrides
(overrides)
| 2 | |
| 3 | |
| 4 | def create_environment_dict(overrides): |
| 5 | """ |
| 6 | Create and return a copy of os.environ with the specified overrides |
| 7 | """ |
| 8 | result = os.environ.copy() |
| 9 | result.update(overrides or {}) |
| 10 | return result |