]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Don't encode unicode dirname in test_support.temp_cwd() if unicode file names
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 9 Sep 2015 09:18:36 +0000 (12:18 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 9 Sep 2015 09:18:36 +0000 (12:18 +0300)
commitf29ab72162d9bec16c482e4657119135d933825b
treed16e74f49f689a0696a983732413394cceb40f3f
parente1d38b08b042850787f69a15e687cf3cc279740d
Don't encode unicode dirname in test_support.temp_cwd() if unicode file names
are supported by the filesystem.  On Windows the encoding can convert some
characters to '?' that is not legal in file name.
Lib/test/test_support.py