Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed Python 3.2 compatibility for a test.

  • Loading branch information...
commit bc7a219b1e7979ebf0b511d8a3775a0af6dbad33 1 parent 293f7a2
@jphalip jphalip authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/test_client_regress/tests.py
View
2  tests/regressiontests/test_client_regress/tests.py
@@ -810,7 +810,7 @@ def test_put(self):
def test_patch(self):
"Request a view with string data via request method PATCH"
# Regression test for #17797
- data = u'{"test": "json"}'
+ data = '{"test": "json"}'
response = self.client.patch('/test_client_regress/request_methods/', data=data, content_type='application/json')
self.assertEqual(response.status_code, 200)
self.assertEqual(response.content, b'request method: PATCH')
Please sign in to comment.
Something went wrong with that request. Please try again.