Skip to content

Commit

Permalink
Fixed semantics of "#"
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-zeller committed Jan 17, 2024
1 parent 46edcbb commit ee9a90e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions notebooks/Coverage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,8 @@
},
"source": [
"We see that a number of lines (notably comments) have not been executed (marked with `#`), simply because they are not executable.\n",
"However, we also see that the lines under `if c == '%'` have _not_ been executed yet. If `\"a+b\"` were our only test case so far, this missing coverage would now encourage us to create another test case that actually covers these lines."
"However, we also see that the lines under `elif c == '%'` have _not_ been executed yet.\n",
"If `\"a+b\"` were our only test case so far, this missing coverage would now encourage us to create another test case that actually covers these `#`-marked lines."
]
},
{
Expand Down Expand Up @@ -2365,7 +2366,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Printing out a coverage object shows the covered functions, with non-covered lines prefixed as `#`:"
"Printing out a coverage object shows the covered functions, with non-covered lines prefixed with `#`:"
]
},
{
Expand Down

0 comments on commit ee9a90e

Please sign in to comment.