def test_quote_fastpath_safe(): s1 = "/path/to" s2 = _Quoter(safe="/")(s1) assert s1 is s2
def test_quote_fastpath_pct(): s1 = "abc%A0" s2 = _Quoter()(s1) assert s1 is s2
def test_quote_fastpath_safe(): s1 = '/path/to' s2 = _Quoter(safe='/')(s1) assert s1 is s2