MCPcopy Index your code
hub / github.com/ipython/ipython / test_sets

Function test_sets

tests/test_pretty.py:139–144  ·  view source on GitHub ↗

Test that set and frozenset use Python 3 formatting.

(obj, expected_output)

Source from the content-addressed store, hash-verified

137 ),
138)
139def test_sets(obj, expected_output):
140 """
141 Test that set and frozenset use Python 3 formatting.
142 """
143 got_output = pretty.pretty(obj)
144 assert got_output == expected_output
145
146
147def test_pprint_heap_allocated_type():

Callers

nothing calls this directly

Calls 1

prettyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…