()
| 802 | |
| 803 | if _exists("_create_environ"): |
| 804 | def reload_environ(): |
| 805 | data = _create_environ() |
| 806 | if name == 'nt': |
| 807 | encodekey = environ.encodekey |
| 808 | data = {encodekey(key): value |
| 809 | for key, value in data.items()} |
| 810 | |
| 811 | # modify in-place to keep os.environb in sync |
| 812 | env_data = environ._data |
| 813 | env_data.clear() |
| 814 | env_data.update(data) |
| 815 | |
| 816 | __all__.append("reload_environ") |
| 817 |
nothing calls this directly
no test coverage detected