Skip to content

Commit

Permalink
increase memleak test mem size
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Jan 7, 2024
1 parent 89ceb12 commit d5f0fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psutil/tests/test_testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,10 +379,10 @@ def test_leak_mem(self):
ls = []

def fun(ls=ls):
ls.append("x" * 24 * 1024)
ls.append("x" * 124 * 1024)

try:
# will consume around 3M in total
# will consume around 30M in total
self.assertRaisesRegex(
AssertionError, "extra-mem", self.execute, fun, times=50
)
Expand Down

0 comments on commit d5f0fca

Please sign in to comment.