Skip to content

Commit

Permalink
Fix python 2.6 unittest compatability issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Goodnow committed Jan 25, 2013
1 parent 44b1e7e commit f453892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_requests.py
Expand Up @@ -60,7 +60,7 @@ def test_basic_building(self):

def test_no_content_length(self):
req = requests.Request('GET', httpbin('get')).prepare()
self.assertNotIn('Content-Length', req.headers)
self.assertTrue('Content-Length' not in req.headers)


def test_path_is_not_double_encoded(self):
Expand Down

0 comments on commit f453892

Please sign in to comment.