]> granicus.if.org Git - python/commit
bpo-33861: Minor improvements of tests for os.path. (GH-7715)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 16 Jun 2018 10:58:10 +0000 (03:58 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Jun 2018 10:58:10 +0000 (03:58 -0700)
commit5c23e21ef655db35af45ed98a62eb54bff64dbd0
treed276887257fc9fad6864b81d3f80266203a4b30a
parentc5ff553ae717c33f86d4fa984ee92de71c467f2a
bpo-33861: Minor improvements of tests for os.path. (GH-7715)

* Test exists(), lexists(), isdir(), isfile(), islink(), ismount()
  with bytes paths.
* Remove unneeded silencing DeprecationWarning for ismount() with
  bytes path.
* Test common functions with unencodable and undecodable paths.
* Minor clean up and refactoring.
(cherry picked from commit 17a0088e2680e12ce2c5f2ffc6b71766299e38d5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_genericpath.py
Lib/test/test_posixpath.py