diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2018-06-04 05:55:32 +0300 |
|---|---|---|
| committer | Ned Deily <nad@python.org> | 2018-06-03 22:55:32 -0400 |
| commit | 7cfd8c6a1b53a7dbdea14b6f414f2629dcd130a2 (patch) | |
| tree | c23fb43ead0e07dad0ad9ba32e306a00a799a39d | |
| parent | e36837cb71032ccfa713e75623b314f091dc22bb (diff) | |
| download | cpython-git-7cfd8c6a1b53a7dbdea14b6f414f2629dcd130a2.tar.gz | |
bpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362)
It depended on a global variable set by other tests.
| -rw-r--r-- | Lib/test/test_xmlrpc.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py index 15b7ae5581..5f780d8800 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py @@ -1175,7 +1175,9 @@ class GzipUtilTestCase(unittest.TestCase): class ServerProxyTestCase(unittest.TestCase): def setUp(self): unittest.TestCase.setUp(self) - self.url = URL + # Actual value of the URL doesn't matter if it is a string in + # the correct format. + self.url = 'http://fake.localhost' def test_close(self): p = xmlrpclib.ServerProxy(self.url) |
