Don't fail with an AttributeError when comparing a FileInfo instance to
a string. Equality operations shouldn't fail, rather then the other has
a different type then the result of the equality should simply be a
negative.
Also adds some unit tests for FileInfo comparisons.
Don't fail with an AttributeError when comparing a FileInfo instance to a string. Equality operations shouldn't fail, rather then the other has a different type then the result of the equality should simply be a negative.
Also adds some unit tests for FileInfo comparisons.