def METHOD_NAME(self):
    # Message changed in python3.6
    with pytest.raises(AnsibleFilterTypeError, match='pow\\(\\) can only be used on numbers: (a float is required|must be real number, not str)'):
        ms.power('a', 10)
    with pytest.raises(AnsibleFilterTypeError, match='pow\\(\\) can only be used on numbers: (a float is required|must be real number, not str)'):
        ms.power(10, 'a')