Skip to content
Browse files

Fixing test to ensure it passes with python 3.

  • Loading branch information...
1 parent 20b10ae commit fbc366c1a551c05d8c1ebfdf92608b7062a22622 @vinodc vinodc committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 test_requests.py
View
2 test_requests.py
@@ -262,7 +262,7 @@ def test_custom_content_type(self):
'file2': ('test_requests', open(__file__, 'rb'),
'text/py-content-type')})
self.assertEqual(r.status_code, 200)
- self.assertTrue("text/py-content-type" in r.request.body)
+ self.assertTrue(b"text/py-content-type" in r.request.body)
if __name__ == '__main__':

0 comments on commit fbc366c

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