jonreid/PyHamcrest — Issue #23: Define two collection matchers for collection metadata
Author: offbyone
Created: 2012-02-06 16:46:26+00:00
State: open

1. has_length() -- responds to the __len__ protocol method with a matching value
2. empty() -- equivalent to has_length(0); primarily semantic sugar.
- alternately this could be anything falselike, but I'd rather specifically deal with types that are collections.

This issue is submitted because I don't want to forget about this.