chiark / gitweb /
pelican-theme: don't attempt to query a Pelican version in the test.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 14 Sep 2024 23:28:51 +0000 (01:28 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sat, 14 Sep 2024 23:50:12 +0000 (01:50 +0200)
commite2c9da10be1cd7feab3410b994820f3e1767b5ef
treec2b538e961c3ddbfad04bd00de440afc23d7ad20
parent109fdf71673ad71f662694eed1b7879a8079f2a5
pelican-theme: don't attempt to query a Pelican version in the test.

Because I rely on ancient pygments (gotta fix that too), I cannot use
Pelican 4.9.0+ as it requires a newer version. And on Python 3.12
pelican.__version__ with Pelican 4.8.0 says "unknown" (probably due to
not being ported to the new packaging thingy or whatever), breaking the
version parser in the test.

I'm querying the version just to skip a test that relies on a PR that I
opened in 2017 and didn't have time to get back to. I likely won't have
for another decade, so can just skip this always.
pelican-theme/test/test_page.py