mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
use isinstance for check type
This commit is contained in:
parent
d8826848cd
commit
7d97459836
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ def test_commands_cache_lazy(xonsh_builtins):
|
|||
def test_predict_threadable_unknown_command(xonsh_builtins):
|
||||
cc = CommandsCache()
|
||||
result = cc.predict_threadable(["command_should_not_found"])
|
||||
assert type(result) == bool
|
||||
assert isinstance(result, bool)
|
||||
|
||||
|
||||
TRUE_SHELL_ARGS = [
|
||||
|
|
Loading…
Add table
Reference in a new issue