textual fails to build from source due to extra whitespaces in test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
textual (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Textual builds from source locally, but when built by CI, the tests fails due to extra whitespaces in the returned value:
tests/input/
!value !
FAILED [ 19%]
=======
__________________ test_input_
async def test_input_
"""Check if the full input value is rendered if the input is instantiated with it."""
class MyApp(App):
def compose(self):
app = MyApp()
async with app.run_test():
console = Console(width=5)
with console.capture() as capture:
> assert capture.get() == "value"
E AssertionError: assert 'value ' == 'value'
E
E - value
E + value
tests/input/
=======
FAILED tests/input/
- value
+ value
!!!!!!!
tags: | added: ftbfs update-excuse |