]> granicus.if.org Git - python/commit
bpo-30108: Fix test_site setUpModule() (#1460)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 4 May 2017 16:52:26 +0000 (18:52 +0200)
committerGitHub <noreply@github.com>
Thu, 4 May 2017 16:52:26 +0000 (18:52 +0200)
commite81e355a8e43956802211115e3f99859a1a29ecb
tree49359d1df32e34a2481f54b3c63a8fa9cdd5d63d
parent78064387e5815633168a80dcdc1bd9aec4eff46a
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.
Lib/test/test_site.py