Skip to content

Commit

Permalink
Prevent deprecation warning in Python 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Jan 30, 2017
1 parent a5c1e91 commit 2684c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zope/testbrowser/tests/test_wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def test_redirect(self):

# we're also automatically redirected on submit
browser.open('http://localhost/@@/testbrowser/forms.html')
self.assertEquals(browser.headers.get('status'), '200 OK')
self.assertEqual(browser.headers.get('status'), '200 OK')
form = browser.getForm(name='redirect')
form.submit()
self.assertEquals(browser.headers.get('status'), '200 OK')
Expand Down

0 comments on commit 2684c22

Please sign in to comment.