Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Tests failing on armv7l

オープン
#479 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python, shell
領域
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 の本文から書いたものです。

説明

bug

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tmux-python/libtmux のほかの issue

tmux-python/libtmux の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。