aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_easy_install.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 6fd45e8b..7c807fc3 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -307,7 +307,9 @@ class TestSetupRequires(unittest.TestCase):
# create an sdist that has a build-time dependency.
self.create_sdist(install)
- self.assertEqual(len(p_index.requests), 2)
+ # there should have been two or three requests to the server
+ # (three happens on Python 3.3a)
+ self.assert_(2 <= len(p_index.requests) <= 3)
self.assertEqual(p_index.requests[0].path, '/does-not-exist/')
def create_sdist(self, installer):