Skip to content

Commit

Permalink
Remove unnecessary assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickinson committed Aug 13, 2015
1 parent d585541 commit 7b8e552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions traits/tests/test_regression.py
Expand Up @@ -162,11 +162,11 @@ def test_delegation_refleak(self):
counts = []

for _ in xrange(warmup_cycles):
obj = DelegateLeak()
DelegateLeak()
gc.collect()

for _ in xrange(cycles):
obj = DelegateLeak()
DelegateLeak()
gc.collect()
counts.append(len(gc.get_objects()))

Expand Down

0 comments on commit 7b8e552

Please sign in to comment.