diff --git a/src/python/grpcio_tests/tests/unit/_contextvars_propagation_test.py b/src/python/grpcio_tests/tests/unit/_contextvars_propagation_test.py index 1fee901c8f3..4459225c958 100644 --- a/src/python/grpcio_tests/tests/unit/_contextvars_propagation_test.py +++ b/src/python/grpcio_tests/tests/unit/_contextvars_propagation_test.py @@ -85,6 +85,7 @@ if contextvars_supported(): test.assertEqual(_EXPECTED_VALUE, self._recorded_value) else: + def set_up_expected_context(): pass