Document for process_type. (#7135)

* Update document for prune and refresh.

* Add demo.
This commit is contained in:
Jiaming Yuan
2021-08-03 13:11:52 +08:00
committed by GitHub
parent d080b5a953
commit 7bdedacb54
4 changed files with 115 additions and 4 deletions

View File

@@ -14,6 +14,12 @@ def test_data_iterator():
subprocess.check_call(cmd)
def test_update_process_demo():
script = os.path.join(td.PYTHON_DEMO_DIR, 'update_process.py')
cmd = ['python', script]
subprocess.check_call(cmd)
@pytest.mark.skipif(**tm.no_dask())
@pytest.mark.skipif(**tm.no_dask_cuda())
@pytest.mark.skipif(**tm.no_cupy())