We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2ca1ae commit 2106ef0Copy full SHA for 2106ef0
Lib/test/test_generators.py
@@ -15,7 +15,7 @@
15
>>> g.next()
16
2
17
18
- "Falling off the end" stops the generator:
+"Falling off the end" stops the generator:
19
20
21
Traceback (most recent call last):
@@ -582,7 +582,14 @@
582
# so this works as expected in both ways of running regrtest.
583
def test_main():
584
import doctest, test_generators
585
- doctest.testmod(test_generators)
+ if 0:
586
+ # Temporary block to help track down leaks. So far, the blame
587
+ # has fallen mostly on doctest.
588
+ for i in range(1000):
589
+ doctest.master = None
590
+ doctest.testmod(test_generators)
591
+ else:
592
593
594
# This part isn't needed for regrtest, but for running the test directly.
595
if __name__ == "__main__":
0 commit comments