Marker function: sets a flag when executed.
()
| 50 | """Test cpaste magic""" |
| 51 | |
| 52 | def runf(): |
| 53 | """Marker function: sets a flag when executed. |
| 54 | """ |
| 55 | ip.user_ns['code_ran'] = True |
| 56 | return 'runf' # return string so '+ runf()' doesn't result in success |
| 57 | |
| 58 | tests = {'pass': ["runf()", |
| 59 | "In [1]: runf()", |
nothing calls this directly
no outgoing calls
no test coverage detected