'L{URLPath.fromBytes} can interpret non-ASCII bytes as percent-encoded'

def test_nonASCIIBytes(self):

    url = urlpath.URLPath.fromBytes('http://example.com/\xff\x00')
    self.assertEqual(str(url), 'http://example.com/%FF%00')
