Merge branch 'main' into no-container-scroll

This commit is contained in:
Dave Pearson
2023-04-24 11:35:47 +01:00
committed by GitHub
63 changed files with 54 additions and 255 deletions

View File

@@ -29,7 +29,6 @@ class ScrollViewTester(App[None]):
background: $primary-darken-2;
border: round red;
}
"""
def compose(self) -> ComposeResult:

View File

@@ -9,7 +9,6 @@ class AnimApp(App):
#foo {
height: 1;
}
"""
def compose(self) -> ComposeResult:

View File

@@ -39,4 +39,4 @@ async def test_call_after_refresh() -> None:
app.call_after_refresh(callback)
await asyncio.wait_for(called_event.wait(), 1)
app_display_count = app.display_count
assert app_display_count > display_count
assert app_display_count == display_count

View File

@@ -12,7 +12,6 @@ re_link_ids = re.compile(r"id=[\d\.\-]*?;.*?\x1b")
def replace_link_ids(render: str) -> str:
"""Link IDs have a random ID and system path which is a problem for
reproducible tests.
"""
return re_link_ids.sub("id=0;foo\x1b", render)