[Pytest-commit] [pytest-dev/pytest] 9e24b0: Use re_match_lines in test_class_ordering

Bruno Oliveira nicoddemus at gmail.com
Wed Mar 21 16:37:07 EDT 2018


  Branch: refs/heads/features
  Home:   https://github.com/pytest-dev/pytest
  Commit: 9e24b09a9f96908534e7bfb313df4a2c136b5094
      https://github.com/pytest-dev/pytest/commit/9e24b09a9f96908534e7bfb313df4a2c136b5094
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M testing/python/fixture.py

  Log Message:
  -----------
  Use re_match_lines in test_class_ordering

"[1-a]" works fine using fnmatch_lines, but "[a-1]" breaks horribly
inside `re`.


  Commit: 59e7fd478eb7b3b1ab27f0eba1b8f5a8b8b08cd4
      https://github.com/pytest-dev/pytest/commit/59e7fd478eb7b3b1ab27f0eba1b8f5a8b8b08cd4
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M _pytest/fixtures.py
    A changelog/2405.feature.rst
    M doc/en/fixture.rst
    M testing/acceptance_test.py
    M testing/python/fixture.py

  Log Message:
  -----------
  Sort fixtures by scope when determining fixture closure

Fix #2405


  Commit: 6f95189cf757abc01389f80bf78ba0898dab9438
      https://github.com/pytest-dev/pytest/commit/6f95189cf757abc01389f80bf78ba0898dab9438
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M _pytest/fixtures.py
    A changelog/2405.feature.rst
    M doc/en/fixture.rst
    M testing/acceptance_test.py
    M testing/python/fixture.py

  Log Message:
  -----------
  Merge pull request #3306 from nicoddemus/2405-scope-fixture-order

Instantiate fixtures by scope order in test function requests


Compare: https://github.com/pytest-dev/pytest/compare/add5ce0fb865...6f95189cf757


More information about the pytest-commit mailing list