Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ JSONString
Class
JSONString
IPython/core/tests/test_formatters.py:427–429 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
425
426
def
test_json_as_string_deprecated():
427
class
JSONString(object):
428
def
_repr_json_(self):
429
return
'{}'
430
431
f = JSONFormatter()
432
with
warnings.catch_warnings(record=True)
as
w:
Callers
1
test_json_as_string_deprecated
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_json_as_string_deprecated
Function · 0.68