fix failing test
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run

This commit is contained in:
Kovid Goyal 2026-11-11 14:15:05 +05:30
parent 7e16359486
commit bb237bf137
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1542,7 +1542,7 @@ class TestGraphics(BaseTest):
before = s.update_graphics_layers()
parse_bytes(s, b'\x1b[?2026hnew\r\n\x1b[?2026l\x1b[?2026hmore\r\n')
self.ae(s.scrolled_by, 21)
self.ae(s.update_graphics_layers(), before)
assert_layers_close(s.update_graphics_layers(), before) # the second pause re-snapshots from a different scroll state
self.assertTrue(s.pause_rendering(False))
assert_aligned(s, s.update_graphics_layers(), 'after consecutive updates')