]> granicus.if.org Git - python/commit
bpo-33861: Minor improvements of tests for os.path. (GH-7715)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 16 Jun 2018 10:25:55 +0000 (13:25 +0300)
committerGitHub <noreply@github.com>
Sat, 16 Jun 2018 10:25:55 +0000 (13:25 +0300)
commit17a0088e2680e12ce2c5f2ffc6b71766299e38d5
treec2e7d3b79dd712522bbf10a63773b25e360deb4c
parentc151f7846d6d900c22edaaa77f5f7771b529099e
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.
Lib/test/test_genericpath.py
Lib/test/test_posixpath.py