Changeset 1823:d8f5fdc5815b


Ignore:
Timestamp:
Jun 30, 2019, 4:40:26 PM (4 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Add TODO comment on future test revision

Add TODO comment on future test revision for binary/text modes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_file.py

    r1721 r1823  
    4242class TestFileOperations:
    4343    """Test operations with file-like objects."""
     44
     45    # TODO: Revise these tests when done with the test infrastructure
     46    # redesign. Most tests in this class seem to be from a time when
     47    # there were was specific support for FTP "ASCII" transfers (i. e.
     48    # with `TYPE A`, although `TYPE A` was actually never used, but the
     49    # line ending conversions were done in ftputil). Meanwhile,
     50    # there's no longer support for this ASCII mode in ftputil, but we
     51    # have a distinction between binary and text mode, like in
     52    # Python's built-in `open` function. I _think_ the support for
     53    # binary and text mode is ok, but we should have new tests for
     54    # both modes.
    4455
    4556    def test_inaccessible_dir(self):
Note: See TracChangeset for help on using the changeset viewer.