Skip to content
Myr

synatx error for python3. all strings are unicode

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by barberj · committed by barberj · parent e912a6f · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:tests/test_requests.py+2 added-2 removed
342 unmodified lines
343344 post3 = post(url, files={'fname.txt': 'fdata', 'fname2.txt':open(__file__,'rb')})345 self.assertEqual(post3.status_code, 200)346347 post4 = post(url, files={'fname.txt': u'fdata'})347 post4 = post(url, files={'fname.txt': 'fdata'})348 self.assertEqual(post4.status_code, 200)349350 post5 = post(url, files={'file': ('file.txt', 'more fdata')})351 self.assertEqual(post5.status_code, 200)352353 post6 = post(url, files={'fname.txt': u'\xe9'})353 post6 = post(url, files={'fname.txt': '\xe9'})354 self.assertEqual(post6.status_code, 200)355356 def test_nonzero_evaluation(self):357
543 unmodified lines