summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-07-31 18:47:47 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-07-31 18:47:47 (GMT)
commitb85b966de6aa1b5b5584c294656a7f574f492cc0 (patch)
treebf614bfd67ce1d2acba29db775b12f23ac80e6f2 /Misc
parent56ec5fe950da9903ec9fc614e8d0a9b4b7f6f95f (diff)
downloadcpython-b85b966de6aa1b5b5584c294656a7f574f492cc0.zip
cpython-b85b966de6aa1b5b5584c294656a7f574f492cc0.tar.gz
cpython-b85b966de6aa1b5b5584c294656a7f574f492cc0.tar.bz2
Stop trying to write into the stdlib during packaging tests (#12331).
This prevents tests from failing when run from a Python installed in a read-only directory. The code is a bit uglier; shutil.copytree calls copystat on directories behind our back, so I had to add an os.walk with os.chmod (*and* os.path.join!) calls. shutil, I am disappoint. This changeset is dedicated to the hundreds of neurons that were lost while I was debugging this on an otherwise fine afternoon.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3f5aa29..afe4894 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1147,6 +1147,9 @@ Extension Modules
Tests
-----
+- Issue #12331: The test suite for the packaging module can now run from an
+ installed Python.
+
- Issue #12331: The test suite for lib2to3 can now run from an installed
Python.