Skip to content

[FIX] Tests include testgres by right way through import #241

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

Conversation

dmitry-lipetsk
Copy link
Collaborator

@dmitry-lipetsk dmitry-lipetsk commented Apr 25, 2025

When we do not have root __init__.py, tests must to import testgres through

import testgres

not through

from relative_path import testgres

It fixes a problem with this commit - 6e5e4f5

When we do not have root __init__.py tests must to import testgres through

"import testgres"

not through

"from <relative_path> import testgres"
@dmitry-lipetsk dmitry-lipetsk merged commit 1a662f1 into postgrespro:master Apr 25, 2025
1 check passed
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.

1 participant