'Test incdec_number with URLs that don\'t contain a number.'

@pytest.mark.parametrize('url', ['http://example.com/long/path/but/no/number', 'http://ex4mple.com/number/in/hostname', 'http://example.com:42/number/in/port', 'http://www2.example.com/number/in/subdomain', 'http://example.com/%C3%B6/urlencoded/data', 'http://example.com/number/in/anchor#5', 'http://www2.ex4mple.com:42/all/of/the/%C3%A4bove#5'])
def test_no_number(self, url):

    with pytest.raises(urlutils.IncDecError):
        urlutils.incdec_number(QUrl(url), 'increment')
