# With both imports commented out PyLint processes this file successfully. If you uncomment one at a time you get
# AttributeError: 'NoneType' object has no attribute 'split' - but with different stack traces.

# Error 1 with this line:
#from . import base

# Error 2 with this line:
#from . import something

def bad_method():
    order = base.MyOrder()
    order.myattr = value