Unused import statement - Pycharm

0

When trying to import using Pycharm :

from selenium.webdriver.common.alert import Alert

It leaves the text in gray, and shows unused import statemnet .

I tried to use the:

# noinspection PyUnresolvedReferences

But without success, why does this happen?

    
asked by anonymous 16.03.2016 / 18:28

1 answer

2

Simply because you are not using the module you made import, use somewhere in the code and the warning should disappear soon.

    
18.03.2016 / 16:41