Pytest Subprocess Versions Save

Pytest plugin to fake subprocess.

1.5.0

1 year ago

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

1 year ago

Features

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

2 years ago

Other changes

  • #74: Add fp alias for the fixture, and register for the regisiter_subprocess method.

1.4.0

2 years ago

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

2 years ago

Bug fixes

  • #61: Fixed behavior of asyncio.create_subproess_exec().

1.3.1

2 years ago

Bug fixes

  • #58: Correctly handle file stream output.

1.3.0

2 years ago

Features

  • #55: Add support for terminate(), kill(), send_signal().

1.2.0

2 years ago

Features

  • #49, #52: Add support for asyncio.

Other changes

  • #50: Change docs theme.

1.1.2

2 years ago

Bug fixes

  • #47: Prevent allow_unregistered() and keep_last_process() from affecting other tests.

1.1.1

2 years ago

Bug fixes

  • #43: Wait for callback thread to finish when calling communicate().

Other changes

  • #42: Fix type annotations for register_subprocess().