Fixes an issue where the newer versions of Pytest can't detect deprecation warnings
Fixes an issue where the newer versions of Pytest can't detect deprecation warnings

This was fixed in https://github.com/pytest-dev/pytest/pull/1081 but is not released yet.

progrium/pyjwt,jpadilla/pyjwt