| Index: test/test262/testcfg.py
|
| diff --git a/test/test262/testcfg.py b/test/test262/testcfg.py
|
| index 8e129d3144b4a57b6e21a76f8b6220c7d94c2d89..de3c9ad7b9f3645b7081806e137f133884ef3c31 100644
|
| --- a/test/test262/testcfg.py
|
| +++ b/test/test262/testcfg.py
|
| @@ -31,9 +31,9 @@ import os
|
| import shutil
|
| import sys
|
| import tarfile
|
| -import urllib
|
|
|
| from testrunner.local import testsuite
|
| +from testrunner.local import utils
|
| from testrunner.objects import testcase
|
|
|
|
|
| @@ -97,7 +97,7 @@ class Test262TestSuite(testsuite.TestSuite):
|
| directory_old_name = os.path.join(self.root, "data.old")
|
| if not os.path.exists(archive_name):
|
| print "Downloading test data from %s ..." % archive_url
|
| - urllib.urlretrieve(archive_url, archive_name)
|
| + utils.URLRetrieve(archive_url, archive_name)
|
| if os.path.exists(directory_name):
|
| if os.path.exists(directory_old_name):
|
| shutil.rmtree(directory_old_name)
|
|
|