Skip to content

Conversation

@blueyed
Copy link
Contributor

@blueyed blueyed commented Sep 17, 2019

Conflicts:
src/_pytest/reports.py
(via 7259c45, moved the type annotation; setting it to None
was removed in 3c82b1c already)

robholt and others added 30 commits August 19, 2019 15:57
Refactoring this in order to support chained exceptions
more easily.

Related to pytest-dev#5786
Using a relative import like before was not very nice
…badcase

Fix pytest with mixed up filename casing.
Serialize/deserialize chained exceptions
Due to the flaky tests in 3.5.0, drop running
py35 with xdist for now in the hope we get better error
messages.

Ref: pytest-dev#5795
Fix the scope behavior with indirect fixtures
Mark flaky test as xfail on Python 3.5.0
Fix self reference in function scoped fixtures
Fix for Python 4: replace unsafe PY3 with PY2
This causes flaky test failures (crashes).

Closes pytest-dev#5795.
gene1wood and others added 12 commits September 9, 2019 12:14
Remove reference to the `message` argument in the docs as it was deprecated in pytest-dev#4539
Update doc regarding pytest.raises
…ev#5839)

Clarify docs by showing tox.ini considered before setup.cfg
…/bugfix/badcase"

This reverts commit 955e542, reversing
changes made to 0215bcd.

Will attempt a simpler approach
Using Path().resolve() is better than py.path.realpath because
it resolves to the correct path/drive in case-insensitive file systems (pytest-dev#5792):

>>> from py.path import local
>>> from pathlib import Path
>>>
>>> local('d:\\projects').realpath()
local('d:\\projects')
>>> Path('d:\\projects').resolve()
WindowsPath('D:/projects')

Fix pytest-dev#5819
The introduction was reverted by cd29d56
Fix regression due to different cases on Windows
This changes `_repr_failure_py` to use `tbfilter=False` always.
Conflicts:
	src/_pytest/reports.py
        (via 7259c45, moved the type annotation; setting it to `None`
        was removed in 3c82b1c already)
@blueyed blueyed requested a review from bluetech September 17, 2019 10:48
@blueyed blueyed merged commit c997c32 into pytest-dev:features Sep 17, 2019
@blueyed blueyed deleted the mm branch September 17, 2019 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants