aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2012-04-09 17:34:20 -0400
committerJason R. Coombs <jaraco@jaraco.com>2012-04-09 17:34:20 -0400
commitabcb749df3c0d99caffa76a575f6e01b37002ea6 (patch)
tree516f54f3c2a3783ae4fe2570a15bd89925d6abf2 /setuptools/tests/test_easy_install.py
parente296a811339390d932989b039ec40824a94c6024 (diff)
downloadexternal_python_setuptools-abcb749df3c0d99caffa76a575f6e01b37002ea6.tar.gz
external_python_setuptools-abcb749df3c0d99caffa76a575f6e01b37002ea6.tar.bz2
external_python_setuptools-abcb749df3c0d99caffa76a575f6e01b37002ea6.zip
Fix one failing test per #277
--HG-- branch : distribute extra : rebase_source : 74d2107a0e4f5ecda5030fa8610dfd38a2bd5740
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 3f9b7724..5577dd6a 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -321,7 +321,7 @@ class TestSetupRequires(unittest.TestCase):
setup_requires = ['does-not-exist'],
)
""").lstrip())
- setup_py.size = len(setup_py_bytes.buf)
+ setup_py.size = len(setup_py_bytes.getvalue())
dist_path = os.path.join(dir, 'distribute-test-fetcher-1.0.tar.gz')
dist = tarfile.open(dist_path, 'w:gz')
try: