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

Syntax errors break pytest runner #74

Open
Erotemic opened this issue Jul 8, 2020 · 1 comment
Open

Syntax errors break pytest runner #74

Erotemic opened this issue Jul 8, 2020 · 1 comment

Comments

@Erotemic
Copy link
Owner

Erotemic commented Jul 8, 2020

The doctest:

    """
    >>> data = dict(
    >>>     foo=1,
    >>>     foo=2,
    >>> )
    """

causes a failure in the pytest runner that prevents all other tests from being run. The native runner still works and correctly throws a warning.

@Erotemic
Copy link
Owner Author

Erotemic commented Jul 8, 2020

Also

import _bad_module

in a parent file seems to break things (which should not be the case for static parsing!)

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

No branches or pull requests

1 participant