[Pytest-commit] [pytest-dev/pytest] 280213: fix 'DoctestItem' object has no attribute '_fixtur...
Bruno Oliveira
nicoddemus at gmail.com
Tue Sep 19 16:34:45 EDT 2017
Branch: refs/heads/master
Home: https://github.com/pytest-dev/pytest
Commit: 2802135741a69fac1a22fa29832cd9b5605d87d1
https://github.com/pytest-dev/pytest/commit/2802135741a69fac1a22fa29832cd9b5605d87d1
Author: Oliver Bestwalter <oliver.bestwalter at avira.com>
Date: 2017-09-19 (Tue, 19 Sep 2017)
Changed paths:
M _pytest/python.py
A changelog/2788.bugfix
M testing/python/show_fixtures_per_test.py
Log Message:
-----------
fix 'DoctestItem' object has no attribute '_fixtureinfo'
* doxtests don't seem to have this attribute, so nothing will be written in that case.
* tried to be a good boy scout and tidied up surrounding code a bit (comments, shadowed/unused names, removed random new lines, naming things)
Commit: 966391c77e8f5c528487b7165af908df4c09ce1d
https://github.com/pytest-dev/pytest/commit/966391c77e8f5c528487b7165af908df4c09ce1d
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2017-09-19 (Tue, 19 Sep 2017)
Changed paths:
M _pytest/python.py
A changelog/2788.bugfix
M testing/python/show_fixtures_per_test.py
Log Message:
-----------
Merge pull request #2789 from Avira/master
Don't crash if an item has no _fixtureinfo attribute
Compare: https://github.com/pytest-dev/pytest/compare/9c8847a0cb7d...966391c77e8f
More information about the pytest-commit
mailing list