Skip to content

[Python][ML] Skip the ImplicitMT test without IMT - #23820

Closed
aaronj0 wants to merge 1 commit into
root-project:masterfrom
aaronj0:ml-dataloader-skip-imt-off
Closed

aaronj0 wants to merge 1 commit into
root-project:masterfrom
aaronj0:ml-dataloader-skip-imt-off

Conversation

@aaronj0

@aaronj0 aaronj0 commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

DataLoaderImplicitMT.test01_implicit_mt_not_supported enables implicit multi-threading and expects RDataLoader to raise. In a ROOT built with imt=OFF, EnableImplicitMT() does nothing, so IsImplicitMTEnabled() stays false, the RDataFrame has one slot and nothing is raised. The test fails with "RuntimeError not raised" on the imt=Off CI lane (ubuntu22).

Skip the test case when "imt" is not among the configured features.

DataLoaderImplicitMT.test01_implicit_mt_not_supported enables implicit
multi-threading and expects RDataLoader to raise. In a ROOT built with
imt=OFF, EnableImplicitMT() does nothing, so IsImplicitMTEnabled() stays
false, the RDataFrame has one slot and nothing is raised. The test fails
with "RuntimeError not raised" on the imt=Off CI lane (ubuntu22).

Skip the test case when "imt" is not among the configured features.
@aaronj0

aaronj0 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Follow up to 73d351f which is causing a failure on one of my PR (ubuntu22) which also exists on master: https://github.com/root-project/root/actions/runs/39929134079/job/120332764669

@aaronj0 aaronj0 self-assigned this Oct 23, 2026
@aaronj0 aaronj0 added the in:ML Everything under ROOT/ML label Oct 23, 2026
@siliataider

Copy link
Copy Markdown
Contributor

Hi @aaronj0 , thanks, I already have a PR open #23814
I'm just waiting for the last runners to finish , sorry about this!

@aaronj0 aaronj0 closed this Oct 23, 2026
@aaronj0
aaronj0 deleted the ml-dataloader-skip-imt-off branch October 23, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:ML Everything under ROOT/ML

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants