Try upgrading the 'py' package after installing pytest, just in case that makes a difference (it really ought not to but...)