use assert_warn for depreciation of Ward().fit()
replaced warnings.catch_warnings with ignore warnings