summaryrefslogtreecommitdiffstats
path: root/Lib/test/infinite_reload.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/infinite_reload.py')
-rw-r--r--Lib/test/infinite_reload.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/infinite_reload.py b/Lib/test/infinite_reload.py
new file mode 100644
index 0000000..bfbec91
--- /dev/null
+++ b/Lib/test/infinite_reload.py
@@ -0,0 +1,7 @@
+# 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 infinite_reload
+reload(infinite_reload)