]> 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:57:50 +0000 (03:57 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Jun 2018 10:57:50 +0000 (03:57 -0700)
commit633593372a8aec46644a39e8d0b68e0f1eb5ed38
tree8c78a972cc7a2c94790d88b2af8841128fecac4e
parent416e488415cacec98778da11da401c1b94d92c10
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