TST/CLN: make sure RuntimeWarning is raised