Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use classic console output when -s is used #3041

Merged
merged 23 commits into from
Dec 16, 2017

Commits on Dec 7, 2017

  1. Fix issue 2985.

    cryvate committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    b62fd79 View commit details
    Browse the repository at this point in the history
  2. Integrate logging_using_handler into catching_logs

    logging_using_handler is only used in catching_logs. Therefore it makes
    sense to remove one of the many context managers from the logging
    plugin.
    twmr committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    ba209b5 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2017

  1. Configuration menu
    Copy the full SHA
    dc19624 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ca1e4b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e29553 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e4da9ba View commit details
    Browse the repository at this point in the history
  5. add changelog entry

    jurko-gospodnetic committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    a4f4579 View commit details
    Browse the repository at this point in the history
  6. Add param annotations and types to hookspec

    Also mention which hook to use instead of the deprecated
    pytest_cmdline_preparse
    
    Fix pytest-dev#3022
    nicoddemus committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7b5d4d0 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2017

  1. Configuration menu
    Copy the full SHA
    c8e7d1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ce6e39 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    45e7734 View commit details
    Browse the repository at this point in the history
  4. Fix changelog formatting

    nicoddemus authored Dec 13, 2017
    Configuration menu
    Copy the full SHA
    ebfc1c4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ba41015 View commit details
    Browse the repository at this point in the history
  6. Merge pull request pytest-dev#3012 from thisch/merge_contextmanagers

    Integrate logging_using_handler into catching_logs
    nicoddemus authored Dec 13, 2017
    Configuration menu
    Copy the full SHA
    38f34e2 View commit details
    Browse the repository at this point in the history
  7. Merge pull request pytest-dev#3025 from anntzer/dont-rewrite-plugin

    Respect PYTEST_DONT_REWRITE for plugins too.
    
    closes pytest-dev#2995
    RonnyPfannschmidt authored Dec 13, 2017
    Configuration menu
    Copy the full SHA
    506c9c9 View commit details
    Browse the repository at this point in the history
  8. Merge pull request pytest-dev#3023 from nicoddemus/preparse-deprecated

    Add param annotations and types to hookspec
    RonnyPfannschmidt authored Dec 13, 2017
    Configuration menu
    Copy the full SHA
    5244990 View commit details
    Browse the repository at this point in the history
  9. Merge pull request pytest-dev#3010 from cryvate/fix-issue-2985

    Improve handling of pyargs
    RonnyPfannschmidt authored Dec 13, 2017
    Configuration menu
    Copy the full SHA
    476d4df View commit details
    Browse the repository at this point in the history
  10. Remove logger parameter from catching_logs

    The logger parameter of catching_logs is not used anywhere. The main
    motivation for removing the logger parameter is that it removes the
    
    logger = logger or logging.getLogger(logger)
    
    line. IMO there are too many occurences of the string 'logg' ;)
    twmr committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    3862b0b View commit details
    Browse the repository at this point in the history
  11. Fix memory leak caused by fixture values never been garbage collected

    The leak was caused by the (unused) `FixtureRequest._fixture_values`
    cache.
    
    This was introduced because the `partial` object (created to call
    FixtureDef.finish() bound with the Request) is kept alive
    through the entire session when a function-scoped fixture depends
    on a session-scoped (or higher) fixture because of the nested
    `addfinalizer` calls.
    
    FixtureDef.finish() started receiving a request object in order to
    obtain the proper hook proxy object (pytest-dev#2127), but this does not seem
    useful at all in practice because `pytest_fixture_post_finalizer`
    will be called with the `request` object of the moment the fixture value
    was *created*, not the request object active when the fixture value
    is being destroyed. We should probably deprecate/remove the request
    parameter from `pytest_fixture_post_finalizer`.
    
    Fix pytest-dev#2981
    nicoddemus committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    c3f63ac View commit details
    Browse the repository at this point in the history
  12. Merge pull request pytest-dev#3028 from thisch/removelogger

    Remove logger parameter from catching_logs
    nicoddemus authored Dec 13, 2017
    Configuration menu
    Copy the full SHA
    b17c6e5 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2017

  1. Merge pull request pytest-dev#3030 from nicoddemus/leak

    Fix memory leak caused by fixture values never been garbage collected
    nicoddemus authored Dec 14, 2017
    Configuration menu
    Copy the full SHA
    db4df58 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2017

  1. Configuration menu
    Copy the full SHA
    370daf0 View commit details
    Browse the repository at this point in the history
  2. Reword changelog entry

    nicoddemus authored Dec 16, 2017
    Configuration menu
    Copy the full SHA
    0a2735a View commit details
    Browse the repository at this point in the history