bastimeyer · GitHub

Conversation

@bastimeyer

Copy link Copy Markdown

Member

The Python 3.14 Linux runner was temporarily removed in #6561 because pytest hang for over an hour and then the runner got killed, as it expired. Let's see if it's working again.

Also let's add the Windows runner, with matching temp wheels of Streamlink's binary dependencies.

@bastimeyer

Copy link Copy Markdown

Member Author

@bastimeyer

Copy link Copy Markdown

Member Author

The Windows runner printed an error log after it got cancelled...

Looks like the issue is the monkeypatching of builtins.repr that breaks and which doesn't get reset, breaking all following tests:

def test_decorator_typeerror(self):
with patch("builtins.repr", Mock(side_effect=lambda obj: obj.__name__)):
with pytest.raises(TypeError) as cm:
# noinspection PyUnusedLocal
@pluginargument("foo")
class Foo:
pass
assert str(cm.value) == "Foo is not a Plugin"

@bastimeyer

@bastimeyer

1 participant

@bastimeyer

Read the original on github.com ↗