summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-08-13 11:04:08 (GMT)
committerGitHub <noreply@github.com>2021-08-13 11:04:08 (GMT)
commit45a97d91a42795fb0b220e67ee25a14b940c7e50 (patch)
treea6baf5ca00d4a35481c9de56735e2ffbf3d0622d /Misc
parentebc59262349d6901b825ed9101d604e826757262 (diff)
downloadcpython-45a97d91a42795fb0b220e67ee25a14b940c7e50.zip
cpython-45a97d91a42795fb0b220e67ee25a14b940c7e50.tar.gz
cpython-45a97d91a42795fb0b220e67ee25a14b940c7e50.tar.bz2
bpo-44891: Tests `id` preserving on `* 1` for `str` and `bytes` (GH-27745)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl> (cherry picked from commit a2ce538e16d5e3a6168704366bdd7a8c5af29881) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2021-08-13-12-11-06.bpo-44891.T9_mBT.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2021-08-13-12-11-06.bpo-44891.T9_mBT.rst b/Misc/NEWS.d/next/Tests/2021-08-13-12-11-06.bpo-44891.T9_mBT.rst
new file mode 100644
index 0000000..2f83389
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2021-08-13-12-11-06.bpo-44891.T9_mBT.rst
@@ -0,0 +1,2 @@
+Tests were added to clarify :func:`id` is preserved when ``obj * 1`` is used
+on :class:`str` and :class:`bytes` objects. Patch by Nikita Sobolev.