Much respect to
@MastanKhan , but please allow me to offer a different view, one that's starkly opposed to the one presented by him.
To answer your question, hopefully never.
Both nations are nuclear weapons holders, and a war between the two, even without nukes, would devastate both nations. There is this idea that because Pakistan won the air skirmish over Kashmir a year ago, that Pakistan would win a war between the two...
...I hate to say this, and I wish it wasn't true, but Pakistan cannot win a war against India.
On the plus side, India can't win a war against Pakistan either.
This idea that Pakistanis can tolerate a devastated economy, if it means India's economy is devastated as well, is simply untrue, and there is ample evidence for that. Case in point, Pakistanis can barely tolerate much needed economic reforms without complain, what do you think would happen if Pakistan has a bankrupt economy, which will happen if war occurs between the two.
Once again, much respect to
@MastanKhan , but I do not agree that PMIK is a coward, nor do I think that the army and air chief was passive actors. PMIK has an economy he needs to fix, on top of that, we have the coronavirus already damaging the economy, not to mention Pakistan's refugee problem that every Pakistani complains about, but no one wants to fix. Pakistan tries to send them back, but Pakistanis complain about Islamic unity; Pakistan keeps them, Pakistanis complain about back stabbing ungrateful foreigners.
The military is still busy dealing with internal security, and while things have improved the last 5 years or so, they're still not at the level where the army can afford to relax a bit. This is especially true now, since ISIS-K has become a huge menace in South Asia, and the war in Afghanistan may turn into a civil war, once US troops leave, which could cause a spill over of refugees flooding into Pakistan once again.
With all of these factors, Pakistan cannot afford a war with India.
I also disagree on the Yemen situation. The fact that every single coalition partner has abandoned KSA, and that KSA is now considering negotiations and abandoning Yemen, should go to show that Pakistan made the right decision. Besides, no need to spill Pakistani blood for a sectarian war, for a nation that doesn't care one bit about Pakistan, and who only think about Pakistan as a mercenary nation, while doing tens of billions of dollars in business with Pakistan's rivals.
Once again, this isn't a shot at
@MastanKhan , this is me giving an opposing view. Feel free to make your own decision.