Control: severity -1 important (We would like to transition to pandas 2.1 fairly soon.)
This bug can probably be fixed by replacing all 3 instances of pandas.util.testing with pandas.testing.
There are also some (unrelated) Python 3.12 issues: self.assertRaisesRegexp -> self.assertRaisesRegex and one I haven't investigated.