moving FutureWarning suppression to a decorator in test_endf.py