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
__file__ is a global variable that contains the name of the file in which it is used. This warning is probably because using a reference like that may lead to import issues.
To avoid this warning, we can try to remove any references and replace with the __name__ attribute instead, as this attribute contains the name of the module rather than the file path.
The above method could work, but would require refactoring. In the application's current state and based on how Strelka is built, this will warning will not cause issues.
The following PR was submitted to silence this warning: #272 (comment)
Describe the bug
Tests use the
__file__
variable,easy_install
does not like.Steps to reproduce
Expected behavior
Tests should not throw warnings.
Screenshots
N/A
Release
Additional context
The text was updated successfully, but these errors were encountered: