Issue 7431: use TESTFN in test_linecache instead of trying to create a
file in the Lib/test directory, which might be read-only for the
user running the tests.
diff --git a/Misc/NEWS b/Misc/NEWS
index dc23e7e..2b49a3a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1695,6 +1695,10 @@
 Tests
 -----
 
+- Issue #7431: use TESTFN in test_linecache instead of trying to create a 
+  file in the Lib/test directory, which might be read-only for the
+  user running the tests.
+
 - Issue #7324: add a sanity check to regrtest argument parsing to
   catch the case of an option with no handler.