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.
1 parent 8a7f5ea commit 210be14Copy full SHA for 210be14
tests/test_ot_propagators.py
@@ -10,11 +10,11 @@ def test_basics():
10
11
inject_func = getattr(ihp.HTTPPropagator, "inject", None)
12
assert inject_func
13
- assert inspect.ismethod(inject_func)
+ assert callable(inject_func)
14
15
extract_func = getattr(ihp.HTTPPropagator, "extract", None)
16
assert extract_func
17
- assert inspect.ismethod(extract_func)
+ assert callable(extract_func)
18
19
20
def test_inject():
0 commit comments