All I want is for bool(myInstance) to return False (and for myInstance to evaluate to False when in a conditional like if/or/and. I know how to override >, <, =)
I've tried this:
myInst = test()
print bool(myInst) #prints "True"
print myInst.__bool__() #prints "False"
Is this Python 2.x or Python 3.x? For Python 2.x you are looking to override
class test: def __nonzero__(self): return False