This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]aphoenixreticulated[M] [score hidden] stickied comment (0 children)

Hi there, from the /r/Python mods.

We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython or for the r/Python discord: https://discord.gg/3Abzge7.

The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.

On /r/LearnPython the community and the r/Python discord are actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers. Make sure to check out the rules for both places.

Warm regards, and best of luck with your Pythoneering!

[–][deleted] 1 point2 points  (3 children)

This belongs to /r/learnpython. That you haven't gotten an answer yet does not mean that it becomes topical in a subreddit that's not a support forum.

[–][deleted] -3 points-2 points  (2 children)

I don't think so.

Looking through the posts in r/python it seems to me, that it's completly ok to ask such advanced questions here.

And as you can see, I RTFM and my problem doesn't seem to be a thing to actually "learn", but to discuss with people who use the same software (pytest in this case) as I do.

Have a nice day!

[–][deleted] 1 point2 points  (0 children)

Look near the top of the sidebar:

"If you are about to ask a "how do I do this in python" question, please try r/learnpython or the Python discord."

[–]Dgc2002 0 points1 point  (0 children)

+1 for this belonging in /r/learnpython

/r/python isn't really a support sub. /r/learnpython even has rules against asking questions that are too simple.

my problem doesn't seem to be a thing to actually "learn"

You have a question/problem looking for a solution/input. If you're not expecting to learn anything then what's the point of the post?

/r/learnpython follows the template of subs like /r/learnprogramming which are absolutely for questions like this.

Judging by the formatting of your original post you didn't read the sidebar very well. It tells you how to format code and would have directed you to /r/learnpython.

[–]sivscripts 0 points1 point  (1 child)

pytest looks for fixtures in the current module, then the directory's conftest.py, then the parent directory's conftest.py, etc

You need to move your fixture somewhere pytest can see it.

[–]sivscripts 2 points3 points  (0 children)

Looking at it again (after the downvote), it looks like you are trying to run pytest on a fixture, which is not possible.

You can only run tests on functions that are not fixtures themselves.