Skip to content
Myr

Merge pull request #614 from mizhi/master

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

Minor fix to views.py testsuite.

authored by Armin Ronacher · committed by Armin Ronacher · parents c2e5799, 275f830 · Browse files · 2 files+1 added−3 removed
This commit

State

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

Diff stats

2 files+1 added−3 removed

  • other:+1 added−3 removed

2 files+1 added−3 removed

modified:flask/testsuite/views.py+1 added-1 removed
6 unmodified lines
78 :copyright: (c) 2011 by Armin Ronacher.9 :license: BSD, see LICENSE for more details.10"""11from __future__ import with_statement12import flask13import flask.views14import unittest15from flask.testsuite import FlaskTestCase16from werkzeug.http import parse_set_header171718class ViewTestCase(FlaskTestCase):1920 def common_test(self, app):21 c = app.test_client()
148 unmodified lines
modified:flask/helpers.py-2 removed
293 unmodified lines
294 values['_anchor'] = anchor295 values['_method'] = method296 return appctx.app.handle_url_build_error(error, endpoint, values)297298 rv = url_adapter.build(endpoint, values, method=method,299 force_external=external)298 if anchor is not None:299 rv += '#' + url_quote(anchor)300 return rv301
528 unmodified lines