Skip to content

Commit

Permalink
update TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicexplorer committed Jan 28, 2019
1 parent 2a929a2 commit 94b5cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/pants_test/util/test_dirutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 94b5cc5

Please sign in to comment.