Fokko commented on code in PR #6703: URL: https://github.com/apache/iceberg/pull/6703#discussion_r1092655258
########## python/tests/catalog/test_glue.py: ########## @@ -67,7 +67,18 @@ def get_random_databases(n: int) -> Set[str]: @pytest.fixture(name="_bucket_initialize") def fixture_s3_bucket(_s3) -> None: # type: ignore - _s3.create_bucket(Bucket=BUCKET_NAME) + bucket = _s3.create_bucket(Bucket=BUCKET_NAME) + yield bucket Review Comment: No, this is a bit of an interesting fixture. It didn't return anything before, and now it just blocks the yield until the test is passed, and then cleans it up. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
