-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
changelogChanges should be written to the changelog file.Changes should be written to the changelog file.enhancementNew feature or requestNew feature or request
Description
I have a lot of false conversions, is this a wrong assumption on my part or does it work as intended?
-if __sut__: import pathlib, sys; globals()["__name__"] = "assetdb." + pathlib.Path(__file__).name.replace(".py", ""); sys.path.insert(0, str(pathlib.Path(__file__).absolute().parent.parent))
+if __sut__: import sys; globals()["__name__"] = "assetdb." + pathlib.Path(__file__).name.replace(".py", ""); sys.path.insert(0, str(pathlib.Path(__file__).absolute().parent.parent))
-if __sut__: import doctest, sys; sys.exit(doctest.testmod(optionflags=doctest.ELLIPSIS)[0])
+if __sut__: sys.exit(doctest.testmod(optionflags=doctest.ELLIPSIS)[0])The pathlib import is removed although it is required here (first use in the module). Same for the doctest import.
Metadata
Metadata
Assignees
Labels
changelogChanges should be written to the changelog file.Changes should be written to the changelog file.enhancementNew feature or requestNew feature or request
Projects
Status
🆕 New