diff options
| -rw-r--r-- | coverage.ini | 1 | ||||
| -rw-r--r-- | src/mailman/utilities/interact.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/coverage.ini b/coverage.ini index 6c466df25..3deaacf0c 100644 --- a/coverage.ini +++ b/coverage.ini @@ -7,6 +7,7 @@ omit = .tox/*/lib/python3.5/site-packages/* .tox/*/lib/python3.5/site-packages/* */test_*.py + /tmp/* [report] exclude_lines = diff --git a/src/mailman/utilities/interact.py b/src/mailman/utilities/interact.py index 3c38b02aa..3cc5dddc6 100644 --- a/src/mailman/utilities/interact.py +++ b/src/mailman/utilities/interact.py @@ -53,7 +53,7 @@ def interact(upframe=True, banner=DEFAULT_BANNER, overrides=None): # Try to import the readline module, but don't worry if it's unavailable. try: import readline # noqa - except ImportError: + except ImportError: # pragma: no cover pass # Mimic the real interactive interpreter's loading of any $PYTHONSTARTUP # file. Note that if the startup file is not prepared to be exec'd more |
