]> granicus.if.org Git - python/commit
Issue #13890: Fix importlib case-sensitivity tests to not run on Windows.
authorBrett Cannon <brett@python.org>
Mon, 30 Jan 2012 17:48:16 +0000 (12:48 -0500)
committerBrett Cannon <brett@python.org>
Mon, 30 Jan 2012 17:48:16 +0000 (12:48 -0500)
commit01ad3251aefa7d62308af2580c095ba8ad7885d8
tree5d2c10c31ad4bdca02792b385ee7d0a634294cf7
parent2372bb07221a44df0bed6a237e243ea36d92906e
Issue #13890: Fix importlib case-sensitivity tests to not run on Windows.
Thanks to os.environ under Windows only updating the dict and not the
environment itself (as exposed by nt.environ), tests using
PYTHONCASEOK always fail. Now the tests are skipped when os.environ
does not do what is expected.
Lib/importlib/test/source/test_case_sensitivity.py