diff --git a/tests/python/pants_test/util/test_dirutil.py b/tests/python/pants_test/util/test_dirutil.py index bdd542bc4ef5..87daf3d03afa 100644 --- a/tests/python/pants_test/util/test_dirutil.py +++ b/tests/python/pants_test/util/test_dirutil.py @@ -396,8 +396,8 @@ def test_rm_rf_no_such_file_not_an_error(self, file_name='./vanishing_file'): def assert_write_and_read(self, test_content, write_kwargs, read_kwargs): with temporary_dir() as td: test_filename = os.path.join(td, 'test.out') - # TODO: remove all tests of safe_file_dump() and convert the relevant ones to - # safe_file_dump() after the deprecation period is over! + # TODO: remove all deprecated usages of `binary_mode` and `mode` arguments to safe_file_dump() + # in this file when the deprecation period is over! safe_file_dump(test_filename, test_content, **write_kwargs) self.assertEqual(read_file(test_filename, **read_kwargs), test_content)