14
0
forked from pool/python-furl
Files
python-furl/fix-test_odd_urls.patch
Matej Cepl 40517cd979 - Add remove-six.patch (gh#gruns/furl#175) removing the
dependency on six.
- Add fix-test_odd_urls.patch fixing the failure of
  tests/test_furl.py::TestFurl::test_odd_urls test with the
  recent Python interpreters (gh#gruns/furl#176).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-furl?expand=0&rev=24
2024-09-13 19:07:55 +00:00

16 lines
491 B
Diff

---
tests/test_furl.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/tests/test_furl.py
+++ b/tests/test_furl.py
@@ -1637,7 +1637,7 @@ class TestFurl(unittest.TestCase):
# of a netloc, even if the netloc is empty.
f = furl.furl('////path')
assert f.netloc == '' and str(f.path) == '//path'
- assert f.url == '////path'
+ assert f.url in ('//////path', '////path')
# TODO(grun): Test more odd URLs.