Skip to content
Browse files

Fixed Python 3.2 compatibility for a test.

  • Loading branch information...
1 parent 293f7a2 commit bc7a219b1e7979ebf0b511d8a3775a0af6dbad33 @jphalip jphalip committed
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')

0 comments on commit bc7a219

Please sign in to comment.
Something went wrong with that request. Please try again.