We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79c8f32 + 6e5c309 commit dab9933Copy full SHA for dab9933
README.rst
@@ -98,6 +98,7 @@ PyHamcrest comes with a library of useful matchers:
98
* ``instance_of`` - match object type
99
* ``none``, ``not_none`` - match ``None``, or not ``None``
100
* ``same_instance`` - match same object
101
+ * ``calling, raises`` - wrap a method call and assert that it raises an exception
102
103
* Number
104
@@ -130,6 +131,7 @@ PyHamcrest comes with a library of useful matchers:
130
131
* ``has_items`` - match if all given items appear in the sequence, in any order
132
* ``is_in`` - match if item appears in the given sequence
133
* ``only_contains`` - match if sequence's items appear in given list
134
+ * ``empty`` - match if the sequence is empty
135
136
* Dictionary
137
0 commit comments