Skip to content

Commit

Permalink
MAINT: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Aug 6, 2024
1 parent 687b47f commit e8809f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ filterwarnings = [
"ignore:.* is deprecated and will be removed in Pillow 10.*:DeprecationWarning",
"ignore:.*Type google\\._upb\\..*This is deprecated.*",
"ignore:.*Using or importing the ABCs.*:DeprecationWarning",
"ignore:.*jax.xla_computation is deprecated*:DeprecationWarning",
"ignore:.*the imp module is deprecated in favour of importlib.*:DeprecationWarning",
"ignore:Passing a schema to Validator.iter_errors is deprecated.*:DeprecationWarning",
"ignore:Please use `spmatrix` from the `scipy.sparse` namespace.*:DeprecationWarning",
Expand Down
2 changes: 1 addition & 1 deletion tests/function/test_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def inline_function(a, x): # noqa: FURB118
)
src = get_source_code(function)
expected_src = """
def inline_function(a, x):
def inline_function(a, x): # noqa: FURB118
return a * x
"""
assert dedent(src).strip() == dedent(expected_src).strip()

0 comments on commit e8809f8

Please sign in to comment.