I'd say a few days at least.
@catapillar says she got there in about 48 hrs off her pump, but says she spills ketones normally on her ultra low carb diet. But I don't think those diets lead to any acidosis, at least I sure hope they don't for their sakes. The other thing is you get more and more acidotic as time goes on. You can compensate for it to a degree by blowing off CO2 but that card gets played pretty early and runs out. And then you die. I think in the days before insulin known diabetics (they could measure blood sugar) could last like weeks before they died but I'm not 1000% sure of that.