summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2024-04-03 14:17:13 (GMT)
committerGitHub <noreply@github.com>2024-04-03 14:17:13 (GMT)
commitfc5f68e58ecfbc8c452e1c2f33a2a53d3f2d7ea2 (patch)
tree0138ade12916a1453a5cf316b5176984ee1ca867 /Misc/NEWS.d
parentea94b3b149eeadf33c2f7c46f16dcda0adc7cf4e (diff)
downloadcpython-fc5f68e58ecfbc8c452e1c2f33a2a53d3f2d7ea2.zip
cpython-fc5f68e58ecfbc8c452e1c2f33a2a53d3f2d7ea2.tar.gz
cpython-fc5f68e58ecfbc8c452e1c2f33a2a53d3f2d7ea2.tar.bz2
gh-59215: unittest: restore _top_level_dir at end of discovery (GH-15242)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2019-08-12-19-08-06.bpo-15010.3bY2CF.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-08-12-19-08-06.bpo-15010.3bY2CF.rst b/Misc/NEWS.d/next/Library/2019-08-12-19-08-06.bpo-15010.3bY2CF.rst
new file mode 100644
index 0000000..f61a45e
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-08-12-19-08-06.bpo-15010.3bY2CF.rst
@@ -0,0 +1,3 @@
+:meth:`unittest.TestLoader.discover` now saves the original value of
+``unittest.TestLoader._top_level_dir`` and restores it at the end of the
+call.