summaryrefslogtreecommitdiffstatshomepage
path: root/tests/misc/recursive_data.py_
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/recursive_data.py_')
-rw-r--r--tests/misc/recursive_data.py_9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/misc/recursive_data.py_ b/tests/misc/recursive_data.py_
deleted file mode 100644
index 6a52a3c0e8..0000000000
--- a/tests/misc/recursive_data.py_
+++ /dev/null
@@ -1,9 +0,0 @@
-# This tests that printing recursive data structure doesn't lead to segfault.
-# Unfortunately, print() so far doesn't support "file "kwarg, so variable-len
-# output of this test cannot be redirected, and this test cannot be validated.
-l = [1, 2, 3, None]
-l[-1] = l
-try:
- print(l)
-except RuntimeError:
- print("RuntimeError")