Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mraveri committed Dec 13, 2024
1 parent 1031fc6 commit 7de933b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tensiometer/tests/utilities_subprocess_runner_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,5 @@ def faulty_function():
with self.assertRaises(ValueError, msg="Function should propagate exceptions raised in the subprocess"):
faulty_function()

def test_memory_leak_avoidance(self):
# This test is more theoretical as actual memory usage needs deeper inspection.
@run_in_process()
def large_memory_task():
return [0] * int(1e6) # Allocate a large list

result = large_memory_task()
self.assertIsInstance(result, list, "Function should return the allocated list successfully")

if __name__ == '__main__':
unittest.main()

0 comments on commit 7de933b

Please sign in to comment.