CLN: test code no longer shared with sparse
broken off from #29985.
great! this PR is showing up as merged but still open, huh? oh that's weird https://github.com/pandas-dev/pandas/commit/c5f2084160f765f6b7495b987a198f9db5e972cd definitly merged
 lol i clicked the button :->