MCPcopy Create free account
hub / github.com/apache/arrow / test_cpu_count

Function test_cpu_count

python/pyarrow/tests/test_misc.py:39–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38
39def test_cpu_count():
40 n = pa.cpu_count()
41 assert n > 0
42 try:
43 pa.set_cpu_count(n + 5)
44 assert pa.cpu_count() == n + 5
45 finally:
46 pa.set_cpu_count(n)
47
48
49def test_io_thread_count():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected