Skip to content

Commit

Permalink
chore(python): bump pytest from 8.0.0 to 8.1.1 in /py-polars (#15364)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stijn de Gooijer <stijndegooijer@gmail.com>
  • Loading branch information
dependabot[bot] and stinodego authored Mar 28, 2024
1 parent 6710ea4 commit c7cf650
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion py-polars/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ nest_asyncio
# -------

hypothesis==6.97.4
pytest==8.0.0
pytest==8.1.1
pytest-cov==5.0.0
pytest-xdist==3.5.0

Expand Down
4 changes: 2 additions & 2 deletions py-polars/tests/unit/dataframe/test_df.py
Original file line number Diff line number Diff line change
Expand Up @@ -1620,8 +1620,8 @@ def __repr__(self) -> str:
return f"foo({self.value})"

foos = [Foo(1), Foo(2), Foo(3)]
# I believe foos, stack, and sys.getrefcount have a ref
base_count = 3
# foos and sys.getrefcount have a reference.
base_count = 2
assert sys.getrefcount(foos[0]) == base_count

df = pl.DataFrame({"groups": [1, 1, 2], "a": foos})
Expand Down

0 comments on commit c7cf650

Please sign in to comment.