Skip to content

Commit eb17854

Browse files
committed
Omit shell.py from test coverage; requires interactive TTY.
1 parent e27ea4b commit eb17854

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.coveragerc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[run]
2+
omit =
3+
lawu/util/shell.py

lawu/util/shell.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
IPYTHON_SHELL_AVAILABLE = True
1111

1212

13-
def start_shell(local_ns: Dict=None, banner: str=''):
13+
def start_shell(local_ns: Dict = None, banner: str = ''):
1414
"""Create and immediately drop into a Python shell.
1515
1616
If IPython version 5 or greater is available it will be used instead

0 commit comments

Comments
 (0)