'Verifies that we raise a Resolver404 if what we are resolving doesn\'t
meet the basic requirements of a path to match - i.e., at the very
least, it matches the root pattern \'^/\'. We must never return None
from resolve, or we will get a TypeError further down the line.
Regression for #10834.'

def test_non_regex(self):

    self.assertRaises(Resolver404, resolve, '')
    self.assertRaises(Resolver404, resolve, 'a')
    self.assertRaises(Resolver404, resolve, '\\')
    self.assertRaises(Resolver404, resolve, '.')
