summaryrefslogtreecommitdiff
path: root/test/DocTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/DocTests.py')
-rwxr-xr-xtest/DocTests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/DocTests.py b/test/DocTests.py
index a50ec03d..60d8c637 100755
--- a/test/DocTests.py
+++ b/test/DocTests.py
@@ -68,6 +68,11 @@ class DocTests:
except KeyError:
self.examples[test_id] = dict()
+ try:
+ example = self.examples[test_id][test_kind][test_kind] + example
+ except KeyError:
+ pass
+
self.examples[test_id][test_kind] = {
'bpos': test_begin_pos,
'epos': test_end_pos,