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

Function test_result

IPython/lib/tests/test_backgroundjobs.py:47–52  ·  view source on GitHub ↗

Test job submission and result retrieval

()

Source from the content-addressed store, hash-verified

45#-----------------------------------------------------------------------------
46
47def test_result():
48 """Test job submission and result retrieval"""
49 jobs = bg.BackgroundJobManager()
50 j = jobs.new(sleeper)
51 j.join()
52 nt.assert_equal(j.result['interval'], t_short)
53
54
55def test_flush():

Callers

nothing calls this directly

Calls 1

newMethod · 0.95

Tested by

no test coverage detected