Rewrite dict literal for files in ./pandas/tests/tools/ and  ./pandas/tests/resample/ 
- [ ] xref #38138
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Rewrote dict literal for the following files: 

 ./pandas/tests/tools/test_to_numeric.py
 ./pandas/tests/resample/test_time_grouper.py
 ./pandas/tests/util/test_assert_series_equal.py
 ./pandas/tests/util/test_assert_interval_array_equal.py
 ./pandas/tests/util/test_assert_index_equal.py
 ./pandas/tests/util/test_assert_extension_array_equal.py
 ./pandas/tests/io/test_parquet.py
