You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original comment byholger krekel (BitBucket: hpk42, GitHub: hpk42):
That's a bug in the development version. I just fixed it, you can install dev16 with "pip install -i http://pypi.testrun.org -U pytest".
Note, btw, that the development version might still see some changes before release, particularly we consider going for @pytest.fixture instead of @pytest.setup.
Thanks Holger! Could also please write the example in the docs how to do the setup/teardown within the class declaration. :) I've managed to do the setup, however cannot figure out the teardown. Also, is there any way to use the "request" within class? Thanks for your hard work!
Just executing ``black`` without any argument does not print any message
to stdout or stderr. It's rather confusing, because the user doesn't
know what happened.
In ``len(sources) == 0`` case, black now prints ``No paths given. Nothing to
do``.
Signed-off-by: Christian Heimes <christian@python.org>
Originally reported by: Alex Okrushko (BitBucket: alex_okrushko, GitHub: alex_okrushko)
depending on the name of the setup-method the behavior is completely different:
1-st scenario:
OUTPUT: py.test -sq
This is the expected result.
NOW change the name of the method to "setup":
and the output becomes:
The text was updated successfully, but these errors were encountered: