Fix incorrectly parameterised test

This commit is contained in:
Darren Burns 2022-03-14 10:44:19 +00:00
parent 465777c429
commit e55277110b
No known key found for this signature in database
GPG Key ID: B0939B45037DC345
1 changed files with 1 additions and 3 deletions

View File

@ -166,9 +166,7 @@ if sys.platform == "win32":
@patch.object(
_win32_console, "GetConsoleScreenBufferInfo", return_value=StubScreenBufferInfo
)
def test_write_styled_no_background_color(
_, SetConsoleTextAttribute, __, win32_handle
):
def test_write_styled_no_background_color(_, SetConsoleTextAttribute, win32_handle):
style = Style.parse("blue")
text = "Hello, world!"
term = LegacyWindowsTerm(sys.stdout)