python - Pycharm import RuntimeWarning after updating to 2016.2 -
after updating new version 2016.2, getting
runtimewarning: parent module 'tests' not found while handling absolute import import unittest runtimewarning: parent module 'tests' not found while handling absolute import import datetime dt
'tests' package inside main app package, , receive these warnings when try execute unit tests inside folder. issue came after updating 2016.2. besides warnings, remaining code works fine.
edit: known issue - https://youtrack.jetbrains.com/issue/py-20171. suggesting replace utrunner.py in pycharm installation folder.
this known issue introduced 2016.2 release. progress can followed on jetbrains website here. according page due fixed in 2017.1 release. can follow utrunner.py workaround others have mentioned in meantime - copy of file attached linked ticket.
Comments
Post a Comment