mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 15:28:26 +01:00
coverage: ignore code dependent on tty
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ except NameError:
|
||||
pass
|
||||
|
||||
|
||||
def prompt(msg, default=False):
|
||||
def prompt(msg, default=False): # pragma: no cover
|
||||
if not sys.stdout.isatty():
|
||||
return default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user