diff --git a/grappa/operator.py b/grappa/operator.py
index 2976373..46c67d0 100644
--- a/grappa/operator.py
+++ b/grappa/operator.py
@@ -208,7 +208,7 @@ class Operator(object):
             return self.run_matcher(*args, **kw)
 
     def __enter__(self):
-        raise NotImplementedError('operator cannot be used as "with" statement')  # noqa
+        raise NotImplementedError('operator cannot be used like "with" statement')  # noqa
 
     def __exit__(self, etype, value, traceback):
         self.__enter__()
diff --git a/grappa/operators/raises.py b/grappa/operators/raises.py
index 48dcea9..763f2a5 100644
--- a/grappa/operators/raises.py
+++ b/grappa/operators/raises.py
@@ -1,5 +1,4 @@
 # -*- coding: utf-8 -*-
-import inspect
 from ..operator import Operator
 
 
@@ -57,7 +56,7 @@ class RaisesOperator(Operator):
     )
 
     def match(self, fn, *errors):
-        if not any([inspect.isfunction(fn) or inspect.ismethod(fn)]):
+        if not callable(fn):
             return False, ['subject must be a function or method']
 
         try:

Assertion Errors
Love the library. It is super useful! 

I am trying to figure out how to see if a function raises an exception when called with a certain set of parameters. 

Here is an example (a bit contrived as I am trying to raise my own Exception based on valid inputs). 

```python
t = [0,1,2]
t.index(3) | should.raise_error(ValueError)
```

Right now the should.raise_error expects a function to be passed into it. 

Eg.
```python
t.index | should.raise_error(ValueError)
```

Right now I have to compose the test this way. 

```python
err = ""
try:
    self.index(3)
except Exception as err:
   error = err

error | should.be.an.instance.of(ValueError)
```

Am I missing Something?

diff --git a/tests/operators/raises_test.py b/tests/operators/raises_test.py
index 33f4277..a3acdfa 100644
--- a/tests/operators/raises_test.py
+++ b/tests/operators/raises_test.py
@@ -1,13 +1,21 @@
 import pytest
+from functools import partial
 
 
 def test_raises(should):
     def error():
         raise AssertionError('foo')
 
+    def error_with_params(foo_param):
+        raise AssertionError(foo_param)
+
     error | should.raise_error(AssertionError)
     error | should.do_not.raise_error(NotImplementedError)
 
+    partial(error_with_params, "Foobar") | should.raise_error(AssertionError)
+    partial(error_with_params, "Foobar") | should.to_not\
+        .raise_error(NotImplementedError)
+
     with pytest.raises(AssertionError):
         error | should.raise_error(NotImplementedError)
 

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest
3.6
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
colorama==0.3.9
-e git+https://github.com/grappa-py/grappa.git@c81d2eeaf63788dd130ba712645c82bb1af9b752#egg=grappa
importlib-metadata==4.8.3
iniconfig==1.1.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
tomli==1.2.3
typing_extensions==4.1.1
zipp==3.6.0

name: grappa
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - colorama==0.3.9
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - packaging==21.3
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - zipp==3.6.0
prefix: /opt/conda/envs/grappa

tests/operators/raises_test.py::test_raises
grappa/operators/raises.py grappa/operator.py
grappa/operators/raises.py grappa/operator.py