summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2020-01-27 17:04:25 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-01-27 17:04:25 (GMT)
commit9e1ed518a576897f914227bf538bac426a02a081 (patch)
tree9c8d8f03b06161fb5e86abe9612a883594d3079c /Lib
parent7023288dc500008609e7a4d12ae710c2093c3fc6 (diff)
downloadcpython-9e1ed518a576897f914227bf538bac426a02a081.zip
cpython-9e1ed518a576897f914227bf538bac426a02a081.tar.gz
cpython-9e1ed518a576897f914227bf538bac426a02a081.tar.bz2
bpo-39453: Add testcase for bpo-39453 (GH-18202)
https://bugs.python.org/issue39453 Automerge-Triggered-By: @pablogsal Automerge-Triggered-By: @pablogsal
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_list.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_list.py b/Lib/test/test_list.py
index 33a55f7..3c8d829 100644
--- a/Lib/test/test_list.py
+++ b/Lib/test/test_list.py
@@ -225,6 +225,8 @@ class ListTest(list_tests.CommonTest):
# to list elements while calling PyObject_RichCompareBool().
lst = [X(), X()]
3 in lst
+ lst = [X(), X()]
+ X() in lst
if __name__ == "__main__":