MCPcopy Index your code
hub / github.com/RustPython/RustPython / _obj_ref

Method _obj_ref

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

Source from the content-addressed store, hash-verified

237@unittest.skipUnless(sys.platform == "ios", "Test only applicable to iOS")
238class IOSBrowserTest(unittest.TestCase):
239 def _obj_ref(self, *args):
240 # Construct a string representation of the arguments that can be used
241 # as a proxy for object instance references
242 return "|".join(str(a) for a in args)
243
244 @unittest.skipIf(getattr(webbrowser, "objc", None) is None,
245 "iOS Webbrowser tests require ctypes")

Callers 1

_testMethod · 0.95

Calls 2

strFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected