summaryrefslogtreecommitdiffstats
path: root/Lib/test/infinite_reload.py
blob: 841ccad0b98b8b15ee8643d36d281da1078ec3eb (plain)
1
2
3
4
5
6
7
8
# For testing http://python.org/sf/742342, which reports that Python
#  segfaults (infinite recursion in C) in the presence of infinite
#  reload()ing. This module is imported by test_import.py:test_infinite_reload
#  to make sure this doesn't happen any more.

import imp
import infinite_reload
imp.reload(infinite_reload)