Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7cfd8c6a
Commit
7cfd8c6a
authored
Jun 04, 2018
by
Serhiy Storchaka
Committed by
Ned Deily
Jun 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362)
It depended on a global variable set by other tests.
parent
e36837cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Lib/test/test_xmlrpc.py
Lib/test/test_xmlrpc.py
+3
-1
No files found.
Lib/test/test_xmlrpc.py
View file @
7cfd8c6a
...
@@ -1175,7 +1175,9 @@ class GzipUtilTestCase(unittest.TestCase):
...
@@ -1175,7 +1175,9 @@ class GzipUtilTestCase(unittest.TestCase):
class
ServerProxyTestCase
(
unittest
.
TestCase
):
class
ServerProxyTestCase
(
unittest
.
TestCase
):
def
setUp
(
self
):
def
setUp
(
self
):
unittest
.
TestCase
.
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
):
def
test_close
(
self
):
p
=
xmlrpclib
.
ServerProxy
(
self
.
url
)
p
=
xmlrpclib
.
ServerProxy
(
self
.
url
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment