Compat for util.testing import
Closes #30869
Note that there's a slight behavior difference across python versions. For `py36`, `pandas.util.testing` doesn't warn, `pandas.util.testing.assert_series_equal` does. For py37+, `pandas.util.testing` does warn. LGTM