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

[BUG] randomly fail in some cases #3

Closed
TylerTemp opened this Issue Nov 24, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@TylerTemp
Owner

TylerTemp commented Nov 24, 2015

This will randomly fail. I've found the reason and I'm working on it.

"""
Usage: prog [options] --keep
       prog [options]

Options:
    -k, --keep
"""

from docpie import docpie
import sys
sys.argv = [sys.argv[0], '--keep']

assert docpie(__doc__)['--keep'] == True  # randomly fail

TylerTemp added a commit that referenced this issue Nov 24, 2015

@TylerTemp TylerTemp closed this in 6dbc975 Nov 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment