qutebrowser/tests
Florian Bruhin 240c566384 Fix resource globbing with Python .egg installs
When qutebrowser is installed as an .egg (like can happen with setup.py
install), importlib.resources.files(...) can return a zipfile.Path in
place of a pathlib.Path.

Unfortunately, those path objects don't support .glob(), nor do they
support things like .relative_to() or .as_posix(). Thus, if that's the
case, we need to implement our own poor globbing based on
.iterdir() (which they *do* support).

(cherry picked from commit 54bcdc1eef)
2021-01-28 15:57:38 +01:00
..
end2end tests: Use different workaround for mimetypes issue 2021-01-27 19:24:18 +01:00
helpers doc: Switch URLs to https 2021-01-26 15:19:01 +01:00
manual Rename :buffer to :tab-select 2021-01-20 18:00:38 +01:00
unit Fix resource globbing with Python .egg installs 2021-01-28 15:57:38 +01:00
conftest.py doc: Switch URLs to https 2021-01-26 15:19:01 +01:00
test_conftest.py doc: Switch URLs to https 2021-01-26 15:19:01 +01:00