MCPcopy Index your code
hub / github.com/python/cpython / _obj_ref

Method _obj_ref

Lib/test/test_webbrowser.py:249–252  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

247@unittest.skipUnless(sys.platform == "ios", "Test only applicable to iOS")
248class IOSBrowserTest(unittest.TestCase):
249 def _obj_ref(self, *args):
250 # Construct a string representation of the arguments that can be used
251 # as a proxy for object instance references
252 return "|".join(str(a) for a in args)
253
254 @unittest.skipIf(getattr(webbrowser, "objc", None) is None,
255 "iOS Webbrowser tests require ctypes")

Callers 1

_testMethod · 0.95

Calls 2

strFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected