<> has been deprecated and removed in Python 3. Replace instances of <> with !=.

Example

assert 'test' != 'testing'