Skip to content

Commit

Permalink
notes that pytest_fixture_wrapper unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom O'Hara committed Nov 8, 2023
1 parent c075b4a commit cba3521
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mezcla/unittest_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def pytest_fixture_wrapper(function):
def test_it(capsys):
...
"""
# See https://stackoverflow.com/questions/19614658/how-do-i-make-pytest-fixtures-work-with-decorated-functions
# See https://stackoverflow.com/questions/19614658/how-do-i-make-pytest-fixtures-work-with-decorated-functions
# Note: This is currently usused. It was previously used with trap_exception.
debug.trace(8, f"pytest_fixture_wrapper({gh.elide(function)}")
#
def wrapper(x):
Expand Down Expand Up @@ -265,7 +266,7 @@ def run_script(self, options=None, data_file=None, log_file=None, trace_level=4,
out_file=None, env_options=None, uses_stdin=None, post_options=None, background=None):
"""Runs the script over the DATA_FILE (optional), passing (positional)
OPTIONS and optional setting ENV_OPTIONS. If OUT_FILE and LOG_FILE are
not specifed, they are derived from self.temp_file. The optional POST_OPTIONS
not specified, they are derived from self.temp_file. The optional POST_OPTIONS
go after the data file.
Notes:
- issues warning if script invocation leads to error
Expand Down

0 comments on commit cba3521

Please sign in to comment.