8000 bpo-36144: Update os.environ and os.environb for PEP 584 by chaburkland · Pull Request #18911 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-36144: Update os.environ and os.environb for PEP 584 #18911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 13, 2020
Prev Previous commit
Next Next commit
Update Lib/test/test_os.py
Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
  • Loading branch information
Charles Burkland and brandtbucher authored Mar 11, 2020
commit 399a122d1f35f980d83042a69301083a81946208
2 changes: 1 addition & 1 deletion Lib/test/test_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ def test_ior_operator_invalid_dicts(self):
os.environ |= dict_with_bad_key

with self.assertRaises(TypeError):
dict_with_bad_val = {1: 'a'}
dict_with_bad_val = {'a': 1}
os.environ |= dict_with_bad_val

# Check nothing was added.
Expand Down
0