Releases: aklajnert/pytest-subprocess
Releases · aklajnert/pytest-subprocess
1.5.3
Features
- #171, #178: Allow to access keyword arguments passed to Popen.
Bug fixes
- #180: Fixed an incorrect wait timeout calculation.
- #170: Wrapped ProcessDispatcher.dispatch into FakePopenWrapper as it was causing TypeError when Popen is used as a type.
- #169: Get rid of using thread in AsyncFakePopen as it causes thread.join() to hang indefinitely.
1.5.2
Bug fixes
- #162: Include tests (and docs) and sdist correctly, and stop installing them to site-packages.
Other changes
- #163: Add support for Python 3.12.
1.5.1
Other changes
- #160: Changed pytest entrypoint to avoid error while loading plugin with -p argument.
- #127: Add tests directory to sdist.
1.5.0
Features
- #109: Match also os.PathLike.
- #105: Add program matcher.
Other changes
- #110: Produce TypeError on Win Py<3.8 for Path args.
1.4.2
Features
- #87: Add support for Python 3.11.
- #80, #86: The register() method returns an auxiliary object that will contain all matching FakePopen instances.
Bug fixes
- #93: Raise callback exceptions on communicate() calls.
Other changes
- #97: Fixed warnings in tests, treat warnings as errors.
- #91: Use sys.executable instead just "python" in tests while invoking python subprocess.
- #90: Fix documentation build, add CI check for it.
1.4.1
Other changes
- #74: Add
fp
alias for the fixture, and register
for the regisiter_subprocess
method.
1.4.0
Features
- #71: Add support for stdin with asyncio.
Bug fixes
- #68: Make
stdout
and stderr
an asyncio.StreamReader
instance when using asyncio functions.
- #63: Add missing items to
asyncio.subprocess
.
Other changes
- #69: Extracted code into separate files to improve navigation.
1.3.2
Bug fixes
- #61: Fixed behavior of
asyncio.create_subproess_exec()
.
1.3.1
Bug fixes
- #58: Correctly handle file stream output.
1.3.0
Features
- #55: Add support for
terminate()
, kill()
, send_signal()
.