Guard the deprecated pytest CallSpec2 import (#1272)