TST/ERR: test warnings for unsortable dtypes