Python ignora runtimewarning

import warnings
warnings.filterwarnings("ignore")
Busy Boar