projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e36837c
)
bpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362)
author
Serhiy Storchaka
<storchaka@gmail.com>
Mon, 4 Jun 2018 02:55:32 +0000
(
05:55
+0300)
committer
Ned Deily
<nad@python.org>
Mon, 4 Jun 2018 02:55:32 +0000
(22:55 -0400)
It depended on a global variable set by other tests.
Lib/test/test_xmlrpc.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_xmlrpc.py
b/Lib/test/test_xmlrpc.py
index 15b7ae5581f361cc2d85f6cef988823873e0cde1..5f780d88002e9ee912cdaeb9299ab630008b9cc7 100644
(file)
--- 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)