rollbar / pyrollbar

Error tracking and logging from Python to Rollbar
https://docs.rollbar.com/docs/python/
MIT License
213 stars 135 forks source link

assertDictContainsSubset is removed in Python 3.11 #392

Closed tirkarthi closed 1 week ago

tirkarthi commented 2 years ago

The deprecated aliases were removed in Python 3.11 in python/cpython#28268 .

rollbar/test/starlette_tests/test_logger.py:        self.assertDictContainsSubset(expected_scope, scope)
rollbar/test/starlette_tests/test_middleware.py:        self.assertDictContainsSubset(expected_scope, scope)
rollbar/test/fastapi_tests/test_logger.py:        self.assertDictContainsSubset(expected_scope, scope)
rollbar/test/fastapi_tests/test_middleware.py:        self.assertDictContainsSubset(expected_scope, scope)
rollbar/test/fastapi_tests/test_routing.py:        self.assertDictContainsSubset(expected_scope, scope)