TST/API: disallow string dtypes