PY-6955 Unused import not greyed out if also failing (test refactored)
PY-6955 Unused import not greyed out if also failing