jorisvandenbossche commented on code in PR #14343: URL: https://github.com/apache/arrow/pull/14343#discussion_r992011018
########## python/pyarrow/tests/test_plasma_deprecated.py: ########## @@ -0,0 +1,34 @@ +# Licensed to the Apache Software Foundation (ASF) under one Review Comment: > I do get an error locally as the warning from start_plasma_store() seems to get ignored, can't figure out where I went wrong: The warning is only raise when "entering" the context (which is automatically done one uses the `with context(): ...` construct). But so in the case of your test, you can either use a `with .. : pass` to test that this is raising the warning, or move the explicit `__enter__` call inside the block where you are testing for the warning to be raised. -- 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]
