From 94b5cc5734300bb584bfa1e6c5e78c466ef18470 Mon Sep 17 00:00:00 2001 From: Danny McClanahan <1305167+cosmicexplorer@users.noreply.github.com> Date: Sun, 27 Jan 2019 23:33:11 -0800 Subject: [PATCH] update TODO --- tests/python/pants_test/util/test_dirutil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)