Skip to content

Commit

Permalink
document output
Browse files Browse the repository at this point in the history
  • Loading branch information
vbraun committed Mar 22, 2014
1 parent 2795ef5 commit 42a4f7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sage/symbolic/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ def rational_powers_memleak():
"""
Check that there is no memory leak in rational powers
OUTPUT:
Boolean. Whether the memory leak was detected.
See :trac:`9129`.
EXAMPLES::
Expand All @@ -34,5 +38,5 @@ def rational_powers_memleak():
gc.collect()
c1 = sum(1 for obj in gc.get_objects())
# Test that we do not leak an object at each iteration
return (c1 - c0) > 1000
return (c1 - c0) >= 1000

0 comments on commit 42a4f7f

Please sign in to comment.