MCPcopy Create free account
hub / github.com/ipython/ipython / iprand

Function iprand

IPython/testing/plugin/dtexample.py:129–141  ·  view source on GitHub ↗

Some ipython tests with random output. In [7]: 3+4 Out[7]: 7 In [8]: print('hello') world # random In [9]: iprand() Out[9]: 'iprand'

()

Source from the content-addressed store, hash-verified

127 pass
128
129def iprand():
130 """Some ipython tests with random output.
131
132 In [7]: 3+4
133 Out[7]: 7
134
135 In [8]: print('hello')
136 world # random
137
138 In [9]: iprand()
139 Out[9]: 'iprand'
140 """
141 return 'iprand'
142
143def iprand_all():
144 """Some ipython tests with fully random output.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected