Make test_all_parts TestLogger import Python 3 compatible#252
Merged
anarcat merged 1 commit intolinkchecker:masterfrom Apr 25, 2019
Merged
Make test_all_parts TestLogger import Python 3 compatible#252anarcat merged 1 commit intolinkchecker:masterfrom
anarcat merged 1 commit intolinkchecker:masterfrom
Conversation
tests/checker/test_all_parts.py:21: in <module>
import __init__ as init
E ModuleNotFoundError: No module named '__init__'
testWarning: cannot collect test class 'TestLogger' because it has a
__init__ constructor
Closed
mgedmin
approved these changes
Apr 25, 2019
| """ | ||
|
|
||
| # don't attempt to collect this class because it has an __init__() | ||
| __test__ = False |
Contributor
|
i frankly have no idea what's going on here, but i'll trust this will not backdoor my machine. :p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tests/checker/test_all_parts.py:21: in
import init as init
E ModuleNotFoundError: No module named 'init'
testWarning: cannot collect test class 'TestLogger' because it has a
init constructor