Comment #13 on issue 979 by pekka.klarck: Imporing Python library implemented as directory using physical path or when it is in the execution directory fails
http://code.google.com/p/robotframework/issues/detail?id=979
Although we now know why this bug occurs in Robot and how to prevent it, it's still unclear why that `del sys.modules[modname]` line causes the problem. It seems that something pretty strange happens because this bug does not appear if tests are run on Jython, or the library is implemented as a module and not as a class.
Potentially we may even have found an obscure Python bug. To know anything for for sure we need to be able to reproduce this behavior without using Robot.