Skip to content
Myr

Fixed tests for python 3

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent c23a63a · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:flask/cli.py+3 added-1 removed
34 unmodified lines
3536def _called_with_wrong_args(factory, exc_info):37 exc_type, exc_value, tb = exc_info38 return exc_type is TypeError and \39 str(exc_value).startswith('%s() takes' % factory.__name__)39 str(exc_value).startswith((40 '%s() takes' % factory.__name__,41 '%s() missing' % factory.__name__))424344class NoAppException(click.UsageError):45 """Raised if an application cannot be found or loaded."""
726 unmodified lines