Skip to content

Commit e4dd576

Browse files
doc: conf: add common test preparation imports
When adding test setup blocks, we need some imports over and over again. Let's import them here to keep the test setup blocks as small as possible. Signed-off-by: Bastian Krause <bst@pengutronix.de>
1 parent 50e783a commit e4dd576

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ def setup(app):
209209

210210
doctest_global_setup = '''
211211
import os
212+
import shutil
213+
from unittest.mock import Mock, patch
212214
213215
doctest_dir = '.build/doctest'
214216

0 commit comments

Comments
 (0)