TST: Use pytest idioms in test_libsparse (#45975)
TST: Use pytest idioms in test_libsparse (#45975)

* TST: Use pytest idioms in test_libsparse

* Ignore typing in tests
pandas-dev/pandas,datapythonista/pandas,datapythonista/pandas,pandas-dev/pandas,pandas-dev/pandas,pandas-dev/pandas,datapythonista/pandas,datapythonista/pandas