Skip to content

Commit dab9933

Browse files
committed
Merge pull request #40 from aleasoluciones/master
Update README with missing matchers
2 parents 79c8f32 + 6e5c309 commit dab9933

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ PyHamcrest comes with a library of useful matchers:
9898
* ``instance_of`` - match object type
9999
* ``none``, ``not_none`` - match ``None``, or not ``None``
100100
* ``same_instance`` - match same object
101+
* ``calling, raises`` - wrap a method call and assert that it raises an exception
101102

102103
* Number
103104

@@ -130,6 +131,7 @@ PyHamcrest comes with a library of useful matchers:
130131
* ``has_items`` - match if all given items appear in the sequence, in any order
131132
* ``is_in`` - match if item appears in the given sequence
132133
* ``only_contains`` - match if sequence's items appear in given list
134+
* ``empty`` - match if the sequence is empty
133135

134136
* Dictionary
135137

0 commit comments

Comments
 (0)