Tests failing on armv7l
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- cli, testing-qa
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 1.2k
- Fork
- 127
- Merge medio
- 2h 13m
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tmux-python/libtmux
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
tmux-python/libtmux#759 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tmux-python/libtmux#745 · 2 commenti ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
tmux-python/libtmux#744 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tmux-python/libtmux#731 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tmux-python/libtmux#654 ·
Tutte le issue di tmux-python/libtmux
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/skills#1811 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
speaches-ai/speaches#678 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
datalayer/mcp-compose#42 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
UKGovernmentBEIS/inspect_evals#2523 ·