Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugp100 causes error during testing when attempting to use getsentry/responses project #186

Open
timothy-holmes opened this issue May 8, 2024 · 0 comments

Comments

@timothy-holmes
Copy link

Responses (getsentry/responses) usage is currently prevented during the testing of a project that uses plugp100.

The unintended behaviour occurs because the plugp100 module of the same name is found preferentially. This line in the top-level __init__.py file causes the behaviour:

sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

This line was presumably used to compensate for ill-defined imports within plugp100. Removal of this line does not break plugp100 as all bad import statements have already been removed.

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

No branches or pull requests

1 participant