Branch: refs/heads/2.7 Home: https://github.com/python/cpython Commit: e81e355a8e43956802211115e3f99859a1a29ecb https://github.com/python/cpython/commit/e81e355a8e43956802211115e3f99859a1a29ecb Author: Victor Stinner <victor.stinner at gmail.com> Date: 2017年05月04日 (2017年5月04日) Changed paths: M Lib/test/test_site.py Log Message: ----------- bpo-30108: Fix test_site setUpModule() (#1460) Oops, I forgot that PermissionError was introduced in Python 3.3! Replace PermissionError with OSError and check on errno.