Skip to content

Commit

Permalink
📺 attempt to fix python 3.8 errors in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
smutch committed Nov 22, 2023
1 parent 5073b45 commit faf149b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
from pathlib import Path

import pytest
Expand All @@ -13,7 +14,7 @@

@pytest.fixture(scope='session')
def rootdir():
if sphinx.version_info[0] < 7:
if sphinx.version_info[0] < 7 or sys.version_info < (3, 9):
return sphinx.testing.path.path(__file__).parent.abspath() / 'roots'
return (Path(__file__).parent / 'roots').resolve()

Expand Down

0 comments on commit faf149b

Please sign in to comment.