diff options
Diffstat (limited to 'AppPkg/Applications/Python/Python-2.7.2/Lib/test/infinite_reload.py')
-rw-r--r-- | AppPkg/Applications/Python/Python-2.7.2/Lib/test/infinite_reload.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/infinite_reload.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/infinite_reload.py new file mode 100644 index 0000000000..7943cd0717 --- /dev/null +++ b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/infinite_reload.py @@ -0,0 +1,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)
|