summaryrefslogtreecommitdiff
path: root/pylint/test/functional/recursion_error_crash.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/functional/recursion_error_crash.py')
-rw-r--r--pylint/test/functional/recursion_error_crash.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pylint/test/functional/recursion_error_crash.py b/pylint/test/functional/recursion_error_crash.py
new file mode 100644
index 000000000..208bc2e7a
--- /dev/null
+++ b/pylint/test/functional/recursion_error_crash.py
@@ -0,0 +1,9 @@
+"""Test that a recursion error does not happen
+
+https://github.com/PyCQA/pylint/issues/2463
+"""
+import os
+
+ABC = os.path.realpath('abc')
+DEF = os.path.realpath(ABC + 'def')
+GHI = os.path.join(DEF, 'ghi')