Replace warning() with warnings.warn()

Edited by John Swinbank

Merge request reports

Loading