This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Lib/test/test_list.py b/Lib/test/test_list.py | |
index d3da05ba84..6e640decc1 100644 | |
--- a/Lib/test/test_list.py | |
+++ b/Lib/test/test_list.py | |
@@ -256,6 +256,39 @@ def __eq__(self, other): | |
lst = [X(), X()] | |
X() in lst | |
+ def test_indexing_with_boolean_list_ok(self): | |
+ a=[1,2,3,4] |