Skip to content

Commit

Permalink
Fix tests on Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Mar 29, 2013
1 parent d65bb4f commit c3b5975
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zope/testbrowser/tests/test_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ def test_relative_open_allowed_after_non_html_page(self):
>>> browser = Browser(wsgi_app=app)
>>> content_type = ('Content-Type', 'text/csv')
>>> app.add_response(b'have,some,csv', headers=[content_type])
>>> content_type = ('Content-Type', 'text/html')
>>> content_type = ('Content-Type', 'text/html; charset=UTF-8')
>>> app.add_response(b'have some html', headers=[content_type])
>>> browser.open('https://localhost/foo/bar')
>>> browser.open('/baz')
>>> browser.contents
b'have some html'
'have some html'
>>> browser.url
'https://localhost/baz'
"""
Expand Down

0 comments on commit c3b5975

Please sign in to comment.