Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c93801 commit 284a2cfCopy full SHA for 284a2cf
1 file changed
Lib/test/test_socket.py
@@ -214,10 +214,10 @@ def testHostnameRes(self):
214
if not fqhn in all_host_names:
215
self.fail("Error testing host resolution mechanisms.")
216
217
- def testJavaRef(self):
+ def testRefCountGetNameInfo(self):
218
"""Testing reference count for getnameinfo."""
219
import sys
220
- if not sys.platform.startswith('java'):
+ if hasattr(sys, "getrefcount"):
221
try:
222
# On some versions, this loses a reference
223
orig = sys.getrefcount(__name__)
0 commit comments