Clue: Prepare to try gas (not oxygen) when containing bad air (7)
Answer: ARRAIGN
Explanation: Definition: Prepare to try
An envelope ('when containing') of RAI, an anagram ('bad') of 'air' in ARG[o]N ('gas') minus the O ('not oxygen').