Skip to content

Commit ca5adbb

Browse files
committed
Support pytest 9
Change the function specification of pytest_report_header to not use any arguments. Closes #55
1 parent c6800c7 commit ca5adbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pythonapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
run: |
5858
python -m pip install --upgrade pip
5959
pip install -U setuptools setuptools_scm
60-
pip install "pytest<9"
60+
pip install pytest
6161
- uses: actions/download-artifact@v4
6262
with:
6363
name: dist

conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
INSTALL_TYPE = "editable" if apipkg.__file__ == LOCAL_APIPKG else "full"
77

88

9-
def pytest_report_header(startdir):
9+
def pytest_report_header():
1010
return "apipkg {install_type} install version={version}".format(
1111
install_type=INSTALL_TYPE, version=apipkg.__version__
1212
)

0 commit comments

Comments
 (0)