Skip to content

Commit

Permalink
Merge pull request #614 from mizhi/master
Browse files Browse the repository at this point in the history
Minor fix to views.py testsuite.
  • Loading branch information
mitsuhiko committed Oct 17, 2012
2 parents c2e5799 + 275f830 commit f06c80a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions flask/helpers.py
Expand Up @@ -295,8 +295,6 @@ def external_url_handler(error, endpoint, **values):
values['_method'] = method
return appctx.app.handle_url_build_error(error, endpoint, values)

rv = url_adapter.build(endpoint, values, method=method,
force_external=external)
if anchor is not None:
rv += '#' + url_quote(anchor)
return rv
Expand Down
2 changes: 1 addition & 1 deletion flask/testsuite/views.py
Expand Up @@ -8,13 +8,13 @@
:copyright: (c) 2011 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
from __future__ import with_statement
import flask
import flask.views
import unittest
from flask.testsuite import FlaskTestCase
from werkzeug.http import parse_set_header


class ViewTestCase(FlaskTestCase):

def common_test(self, app):
Expand Down

0 comments on commit f06c80a

Please sign in to comment.