The Andrews government has doubled down on its opposition to pill testing at music festivals, while Melbourne City Council prepares to vote on a proposal for it.

Debate surrounding the merits of pill testing intensified on Friday after a NSW coroner overseeing an inquest into six MDMA-related deaths at music festivals said evidence in favour of the measure was "compelling".

Deputy state coroner Harriet Grahame called for a radical change to drug policy as she closed the inquest.

"I am in no doubt whatsoever that there is sufficient evidence to support a drug-checking trial in NSW," she said. "In my view, the evidence is compelling."