mirror of
https://github.com/maxkratz/edgedb.git
synced 2024-09-16 18:59:05 +00:00
Docs: Add offending code block to error message in docs tests (#6603)
This commit is contained in:
parent
27eeca7a02
commit
b0d1618db4
1 changed files with 2 additions and 1 deletions
|
@ -375,7 +375,8 @@ class TestDocSnippets(unittest.TestCase):
|
|||
except Exception as ex:
|
||||
raise AssertionError(
|
||||
f'unable to parse {block.lang} code block in '
|
||||
f'{block.filename}, around line {block.lineno}') from ex
|
||||
f'{block.filename}, around line {block.lineno}: '
|
||||
f'{code}') from ex
|
||||
|
||||
@unittest.skipIf(docutils is None, 'docutils is missing')
|
||||
def test_cqa_doc_snippets(self):
|
||||
|
|
Loading…
Reference in a new issue