Fix typo
This commit is contained in:
parent
5755f6e7cf
commit
8accf2ed91
|
@ -47,7 +47,7 @@ def pytest_generate_tests(metafunc):
|
||||||
index = 0
|
index = 0
|
||||||
files = collections.defaultdict(dict)
|
files = collections.defaultdict(dict)
|
||||||
|
|
||||||
# first pass: collect all examples tagget with tftest-file
|
# first pass: collect all examples tagged with tftest-file
|
||||||
last_header = None
|
last_header = None
|
||||||
for child in doc.children:
|
for child in doc.children:
|
||||||
if isinstance(child, marko.block.FencedCode):
|
if isinstance(child, marko.block.FencedCode):
|
||||||
|
@ -59,7 +59,7 @@ def pytest_generate_tests(metafunc):
|
||||||
elif isinstance(child, marko.block.Heading):
|
elif isinstance(child, marko.block.Heading):
|
||||||
last_header = child.children[0].children
|
last_header = child.children[0].children
|
||||||
|
|
||||||
# second pass: collect all examples taggeet with tftest
|
# second pass: collect all examples tagged with tftest
|
||||||
last_header = None
|
last_header = None
|
||||||
index = 0
|
index = 0
|
||||||
for child in doc.children:
|
for child in doc.children:
|
||||||
|
|
Loading…
Reference in New Issue