tests run, if though they fail

This commit is contained in:
Anthony Scopatz 2016-09-06 22:46:04 -04:00
parent a67a628368
commit 0a0eab11a3
3 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View file

@ -46,3 +46,4 @@ include/
.coverage
feedstock/
*.cred
tests/tttt

View file

@ -11,7 +11,7 @@ from xonsh import __version__
from xonsh.lazyasd import lazyobject
from xonsh.shell import Shell
from xonsh.pretty import pretty
from xonsh.proc import HiddenCompletedCommand
from xonsh.proc import HiddenCommand
from xonsh.jobs import ignore_sigtstp
from xonsh.tools import setup_win_unicode_console, print_color
from xonsh.platform import HAS_PYGMENTS, ON_WINDOWS
@ -124,7 +124,7 @@ def _pprint_displayhook(value):
if value is None:
return
builtins._ = None # Set '_' to None to avoid recursion
if isinstance(value, HiddenCompletedCommand):
if isinstance(value, HiddenCommand):
builtins._ = value
return
env = builtins.__xonsh_env__

View file

@ -750,7 +750,7 @@ class Command:
# Properties
#
@propertybh
@property
def stdin(self):
"""Process stdin."""
return self.proc.stdin
@ -770,7 +770,7 @@ class Command:
"""Creates normalized input string from args."""
return ' '.join(self.args)
@propety
@property
def out(self):
"""Output value as a str."""
self.end()
@ -841,12 +841,12 @@ class Command:
mode = getattr(stderr, 'mode', 'r')
return [name, mode]
@propery
@property
def timestamps(self):
"""The start and end time stamps."""
return [self.starttime, self.endtime]
@propery
@property
def executed_cmd(self):
"""The resolve and executed command."""
return self.spec.cmd