Skip to content

Commit 82add3d

Browse files
authored
build: treat warnings as errors (#819)
* build: treat warnings as errors * resolve warning Client.dataset is deprecated and will be removed in a future version * See googleapis/python-logging#820 * address warning @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. * filter warnings from grpcio * revert * update comment
1 parent 878c8ef commit 82add3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

logging/samples/snippets/export_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _random_id():
3434
)
3535

3636

37-
@pytest.yield_fixture
37+
@pytest.fixture
3838
def example_sink():
3939
client = logging.Client()
4040

0 commit comments

Comments
 (0)