Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Failing test case for in and index where types don't match.
  • Loading branch information
cthulahoops committed Feb 11, 2019
commit 50be99a0a1fc6313cfa5498a1c4ab779df239093
3 changes: 3 additions & 0 deletions tests/snippets/tuple.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@
recursive = (recursive_list,)
recursive_list.append(recursive)
assert repr(recursive) == "([(...)],)"

assert (None, "", 1).index(1) == 2
assert 1 in (None, "", 1)