Skip to content

Commit 995ecb5

Browse files
committed
skip_flags
1 parent aa55ade commit 995ecb5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

nbdev/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def nbdev_test(
8484
**kwargs):
8585
"Test in parallel notebooks matching `path`, passing along `flags`"
8686
skip_flags = get_config().tst_flags
87+
if isinstance(skip_flags, str): skip_flags = skip_flags.split()
8788
force_flags = flags.split()
8889
files = nbglob(path, as_path=True, **kwargs)
8990
files = [f.absolute() for f in sorted(files) if _keep_file(f, ignore_fname)]

nbs/api/12_test.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@
178178
" **kwargs):\n",
179179
" \"Test in parallel notebooks matching `path`, passing along `flags`\"\n",
180180
" skip_flags = get_config().tst_flags\n",
181+
" if isinstance(skip_flags, str): skip_flags = skip_flags.split()\n",
181182
" force_flags = flags.split()\n",
182183
" files = nbglob(path, as_path=True, **kwargs)\n",
183184
" files = [f.absolute() for f in sorted(files) if _keep_file(f, ignore_fname)]\n",

0 commit comments

Comments
 (0)