malexer / pytest-spark

pytest plugin to run the tests with support of pyspark
MIT License
85 stars 30 forks source link

fix pytest_report_header args for pytest 8.1.0 #26

Closed antonsteenvoorden closed 8 months ago

antonsteenvoorden commented 8 months ago

pytest-spark breaks as of pytest 8.1.0 As described in https://docs.pytest.org/en/7.1.x/reference/reference.html#pytest.hookspec.pytest_report_header

Changed in version 7.0.0: The start_path parameter was added as a pathlib.Path equivalent of the startdir parameter. The startdir parameter has been deprecated.

Since the parameter is unused, we can use dynamic positional arguments and fix pytest-spark

antonsteenvoorden commented 8 months ago

Closing in favor of #25