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

test nested #18

Merged
merged 1 commit into from
Feb 9, 2017
Merged

test nested #18

merged 1 commit into from
Feb 9, 2017

Conversation

Carreau
Copy link

@Carreau Carreau commented Feb 9, 2017

you newPR seem to be wrong on nested class/function df, while master is correct....

@Carreau
Copy link
Author

Carreau commented Feb 9, 2017

Test will fail obviously.

@Carreau
Copy link
Author

Carreau commented Feb 9, 2017

Found why. Pr in progress.

In nested context the Tokenizer will helpfully insert multiple DETENT
token. So you need to while-pop.

Included a couple of extra test that verify this behavior.
@Carreau
Copy link
Author

Carreau commented Feb 9, 2017

Here is the new commit description.

    Fix detection of indentation in nested context.

    In nested context the Tokenizer will helpfully insert multiple DETENT
    token. So you need to while-pop.

    Included a couple of extra test that verify this behavior.

@takluyver
Copy link
Owner

I'm a bit puzzled why my for-if-continue test didn't pick this up, but thanks!

@takluyver takluyver merged commit 7b726ac into takluyver:tokenize-indent Feb 9, 2017
@Carreau Carreau deleted the test-nested branch February 9, 2017 20:42
@Carreau
Copy link
Author

Carreau commented Feb 9, 2017

I'm a bit puzzled why my for-if-continue test didn't pick this up, but thanks!

Indeed. Maybe a tokenizer inconsistency.

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

Successfully merging this pull request may close these issues.

2 participants