Fix object.__format__ test on Python 3.4.

The test checks if this is deprecated, but in 3.4, the behaviour was made an error.