':py:meth:`PKeyType.check` raises :py:exc:`TypeError` if called with any arguments.'

def test_check_wrong_args(self):

    self.assertRaises(TypeError, PKey().check, None)
    self.assertRaises(TypeError, PKey().check, object())
    self.assertRaises(TypeError, PKey().check, 1)
