mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
tests run, if though they fail
This commit is contained in:
parent
a67a628368
commit
0a0eab11a3
3 changed files with 7 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -46,3 +46,4 @@ include/
|
|||
.coverage
|
||||
feedstock/
|
||||
*.cred
|
||||
tests/tttt
|
||||
|
|
|
@ -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__
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue