Pin pytest to 3.4.x

Closes #1170
1 file changed