Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Jan 30, 2017
1 parent a56c40c commit a5c1e91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/zope/testbrowser/tests/test_wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ def test_handle_errors(self):

def test_non_ascii_urls(self):
teststr = u'~ひらがな'
url = "http://localhost/%s" % url_quote(teststr.encode('utf-8'))
url = "http://localhost/%s" % url_quote(
teststr.encode('utf-8'), safe='/~')
app = WSGITestApplication()
browser = zope.testbrowser.wsgi.Browser(wsgi_app=app)
browser.raiseHttpErrors = False
Expand Down

0 comments on commit a5c1e91

Please sign in to comment.