Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffLIrion committed Dec 22, 2020
1 parent 93a0e78 commit 2c4935e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion adb_shell/adb_device.py
Expand Up @@ -387,7 +387,7 @@ def exec_out(self, command, transport_timeout_s=None, read_timeout_s=constants.D
Returns
-------
bytes, str
The output of the ADB shell command as a string if ``decode`` is True, otherwise as bytes.
The output of the ADB exec-out command as a string if ``decode`` is True, otherwise as bytes.
"""
if not self.available:
Expand Down
2 changes: 1 addition & 1 deletion adb_shell/adb_device_async.py
Expand Up @@ -382,7 +382,7 @@ async def exec_out(self, command, transport_timeout_s=None, read_timeout_s=const
Returns
-------
bytes, str
The output of the ADB shell command as a string if ``decode`` is True, otherwise as bytes.
The output of the ADB exec-out command as a string if ``decode`` is True, otherwise as bytes.
"""
if not self.available:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_adb_device.py
Expand Up @@ -499,10 +499,10 @@ def test_root(self):

# ======================================================================= #
# #
# `exec` test #
# `exec_out` test #
# #
# ======================================================================= #
def test_exec(self):
def test_exec_out(self):
self.assertTrue(self.device.connect())

# Provide the `bulk_read` return values
Expand Down
4 changes: 2 additions & 2 deletions tests/test_adb_device_async.py
Expand Up @@ -533,11 +533,11 @@ async def test_root(self):

# ======================================================================= #
# #
# `exec` test #
# `exec_out` test #
# #
# ======================================================================= #
@awaiter
async def test_exec(self):
async def test_exec_out(self):
self.assertTrue(await self.device.connect())

# Provide the `bulk_read` return values
Expand Down

0 comments on commit 2c4935e

Please sign in to comment.