[2.7] bpo-30108: Fix test_site setUpModule() by vstinner · Pull Request #1460 · python/cpython
Fix AMD64 FreeBSD CURRENT Debug 2.7 buildbot:
======================================================================
ERROR: setUpModule (test.test_site)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/buildbot/python/2.7.koobs-freebsd-current/build/Lib/test/test_site.py", line 41, in setUpModule
except PermissionError as exc:
NameError: global name 'PermissionError' is not defined