Update batch tests for newer python versions.
Python 2.7.7 included a [fix](http://bugs.python.org/issue14983) to always add
a newline to multipart MIME messages. This makes one of our batch tests fail;
we could update to exactly require a newline, but there's no reason to be so
strict -- we might as well work across several python versions, since the code
in question is in python (not this library).
diff --git a/tests/test_http.py b/tests/test_http.py
index 0aab456..5ae8ab6 100644
--- a/tests/test_http.py
+++ b/tests/test_http.py
@@ -802,7 +802,7 @@
parts = e.content.split(boundary)
self.assertEqual(4, len(parts))
self.assertEqual('', parts[0])
- self.assertEqual('--', parts[3])
+ self.assertEqual('--', parts[3].rstrip())
header = parts[1].splitlines()[1]
self.assertEqual('Content-Type: application/http', header)