Skip to content

Commit 346de6b

Browse files
committed
fix test
1 parent 8947501 commit 346de6b

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

nbs/07_script.ipynb

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -350,30 +350,8 @@
350350
"cell_type": "markdown",
351351
"metadata": {},
352352
"source": [
353-
"### Test call parse function"
354-
]
355-
},
356-
{
357-
"cell_type": "markdown",
358-
"metadata": {},
359-
"source": [
360-
"`call_parse` decorated functions work as regular functions and also as command-line interface functions."
361-
]
362-
},
363-
{
364-
"cell_type": "code",
365-
"execution_count": null,
366-
"metadata": {},
367-
"outputs": [],
368-
"source": [
369-
"test_eq(os.system('test_fastcore.script \"Test if this still works\"'), 0)\n",
370-
"test_eq(test_add(1,2), 3)"
371-
]
372-
},
373-
{
374-
"cell_type": "markdown",
375-
"metadata": {},
376-
"source": [
353+
"`call_parse` decorated functions work as regular functions and also as command-line interface functions.\n",
354+
"\n",
377355
"This is the main way to use `fastcore.script`; decorate your function with `call_parse`, add `Param` annotations as shown above, and it can then be used as a script."
378356
]
379357
},

0 commit comments

Comments
 (0)