Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bsert.py #1

Merged
merged 1 commit into from May 14, 2014
Merged

Update bsert.py #1

merged 1 commit into from May 14, 2014

Conversation

@obeleh
Copy link
Contributor

@obeleh obeleh commented May 13, 2014

Perhaps this would give better error messages for in expressions

bsert(3 in [1, 2])
AssertionError: bsert(3 in [1, 2])
```python bsert(3 in [1, 2])
AssertionError: bsert(3 in [1, 2])
```
ChickenProp added a commit that referenced this pull request May 14, 2014
@ChickenProp ChickenProp merged commit de5b851 into ChickenProp:master May 14, 2014
@ChickenProp
Copy link
Owner

@ChickenProp ChickenProp commented May 14, 2014

Huh, so when I try this in a script, it seems to work like expected, but from the REPL it gives AssertionError: False is not true - seems like stck[-1][-1] is None? I don't have time to investigate right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants