Tests failing on armv7l
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- cli, testing-qa
調査の方向性
Start with tests/legacy_api/test_pane.py, especially test_capture_pane, and reproduce the failure on armv7l using the reported environment. Compare the captured pane output with the assertion and identify a project-appropriate fix or test adjustment; done means the test passes without breaking the expected output elsewhere.
索引モデルが issue の本文から書いたものです。
説明
I am packaging libtmux for openSUSE. Unfortunately the tests fail on armv7l:
[ 63s] =================================== FAILURES ===================================
[ 63s] ______________________________ test_capture_pane _______________________________
[ 63s]
[ 63s] session = Session($1 libtmux_xqmt86pw)
[ 63s]
[ 63s] def test_capture_pane(session: Session) -> None:
[ 63s] env = shutil.which("env")
[ 63s] assert env is not None, "Cannot find usable `env` in PATH."
[ 63s]
[ 63s] session.new_window(
[ 63s] attach=True,
[ 63s] window_name="capture_pane",
[ 63s] window_shell=f"{env} PS1='$ ' sh",
[ 63s] )
[ 63s] pane = session.attached_window.attached_pane
[ 63s] assert pane is not None
[ 63s] pane_contents = "\n".join(pane.capture_pane())
[ 63s] assert pane_contents == "$"
[ 63s] pane.send_keys(
[ 63s] r'printf "\n%s\n" "Hello World !"', literal=True, suppress_history=False
[ 63s] )
[ 63s] pane_contents = "\n".join(pane.capture_pane())
[ 63s] > assert pane_contents == r'$ printf "\n%s\n" "Hello World !"{}'.format(
[ 63s] "\n\nHello World !\n$"
[ 63s] )
[ 63s] E assert '$ printf "\\...ello World !"' == '$ printf "\\...lo World !\n$'
[ 63s] E - $ printf "\n%s\n" "Hello World !"
[ 63s] E ? -
[ 63s] E + $ printf "\n%s\n" "Hello World !"
[ 63s] E -
[ 63s] E - Hello World !
[ 63s] E - $
[ 63s]
[ 63s] tests/legacy_api/test_pane.py:86: AssertionError
- 主要言語
- Python
- スター
- 1.2k
- フォーク
- 127
- 平均マージ
- 2時間 13分
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tmux-python/libtmux のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
tmux-python/libtmux#759 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
tmux-python/libtmux#745 · コメント 2 件 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
tmux-python/libtmux#744 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tmux-python/libtmux#731 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
tmux-python/libtmux#654 ·
tmux-python/libtmux の issue をすべて見る
似ている issue
-
bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-webui/open-webui#30750 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100