Created attachment 775554 [details] dev-python:astroid-2.11.3:20220430-004702.log =dev-python/astroid-2.11.2 and -2.11.3 fail three tests, two under tests/unittest_decorators.py and one under tests/unittest_scoped_nodes.py The failure reports for the two in unittest_decorators.py (the one in unittest_scoped_nodes.py is IMO too long to paste here) are: _________________ TestDeprecationDecorators.test_deprecated_default_argument_values_one_arg __________________ @staticmethod def test_deprecated_default_argument_values_one_arg() -> None: with pytest.warns(DeprecationWarning) as records: # No argument passed for 'name' SomeClass() > assert len(records) == 1 E assert 0 == 1 E +0 E -1 records = WarningsChecker(record=True) tests/unittest_decorators.py:28: AssertionError _________________ TestDeprecationDecorators.test_deprecated_default_argument_values_two_args _________________ @staticmethod def test_deprecated_default_argument_values_two_args() -> None: instance = SomeClass(name="") # No value of 'None' passed for both arguments with pytest.warns(DeprecationWarning) as records: instance.func() > assert len(records) == 2 E assert 0 == 2 E +0 E -2 instance = <tests.unittest_decorators.SomeClass object at 0x7f336aba7610> records = WarningsChecker(record=True) tests/unittest_decorators.py:57: AssertionError
Created attachment 775557 [details] emerge-info.txt
They all (still) pass for me.
I found that this machine had installed =dev-python/httpbin-0.7.0-r4 before the change that added an upper bound to its dependency on dev-python/werkzeug, and so I had =dev-python/werkzeug-2.1.1 installed. Once I downgraded werkzeug and reinstalled httpbin, the tests pass (at least in the stable version 2.11.2).
(In reply to Jonathan Lovelace from comment #3) > I found that this machine had installed =dev-python/httpbin-0.7.0-r4 before > the change that added an upper bound to its dependency on > dev-python/werkzeug, and so I had =dev-python/werkzeug-2.1.1 installed. Once > I downgraded werkzeug and reinstalled httpbin, the tests pass (at least in > the stable version 2.11.2). To be fair, I think it should've had a revbump. :)
(In reply to Sam James from comment #4) > (In reply to Jonathan Lovelace from comment #3) > > I found that this machine had installed =dev-python/httpbin-0.7.0-r4 before > > the change that added an upper bound to its dependency on > > dev-python/werkzeug, and so I had =dev-python/werkzeug-2.1.1 installed. Once > > I downgraded werkzeug and reinstalled httpbin, the tests pass (at least in > > the stable version 2.11.2). > > To be fair, I think it should've had a revbump. :) (or rather, it did, but maybe split into two w/ a git mv for the < and another revision for the new test deps. whatever, done now)