summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-09-28 15:01:42 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-09-28 15:01:42 (GMT)
commitc081262be6ceed935f56e9d21a9cefe02097223e (patch)
tree09ba32df4521a7c5e23ee1a9239ec70897b0476e /Lib/distutils/tests
parentbe4de52fb1ef023bdfdf2e601dd6eb7b9e5e6657 (diff)
parent623ae294694dcf11eced4a9d24abf66a571a9d04 (diff)
downloadcpython-c081262be6ceed935f56e9d21a9cefe02097223e.zip
cpython-c081262be6ceed935f56e9d21a9cefe02097223e.tar.gz
cpython-c081262be6ceed935f56e9d21a9cefe02097223e.tar.bz2
#10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r--Lib/distutils/tests/test_upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_upload.py b/Lib/distutils/tests/test_upload.py
index 2401541..dccaf77 100644
--- a/Lib/distutils/tests/test_upload.py
+++ b/Lib/distutils/tests/test_upload.py
@@ -127,7 +127,7 @@ class uploadTestCase(PyPIRCCommandTestCase):
# what did we send ?
headers = dict(self.last_open.req.headers)
- self.assertEqual(headers['Content-length'], '2163')
+ self.assertEqual(headers['Content-length'], '2161')
content_type = headers['Content-type']
self.assertTrue(content_type.startswith('multipart/form-data'))
self.assertEqual(self.last_open.req.get_method(), 'POST')