summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_baseexception.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_baseexception.py')
-rw-r--r--Lib/test/test_baseexception.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_baseexception.py b/Lib/test/test_baseexception.py
index 8db497a..0061b3f 100644
--- a/Lib/test/test_baseexception.py
+++ b/Lib/test/test_baseexception.py
@@ -44,7 +44,7 @@ class ExceptionClassTests(unittest.TestCase):
last_depth = 0
for exc_line in inheritance_tree:
exc_line = exc_line.rstrip()
- depth = exc_line.rindex('-')
+ depth = exc_line.rindex('─')
exc_name = exc_line[depth+2:] # Slice past space
if '(' in exc_name:
paren_index = exc_name.index('(')