Changeset 1608:61b6654aed0a


Ignore:
Timestamp:
Nov 22, 2015, 5:46:56 PM (5 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Remove sentinel code for Python 2

No longer prevent running `TestOther.test_bytes_file_name` under
Python 2. The changes for ticket #100 make the test work for Python 2
as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_real_ftp.py

    r1599 r1608  
    816816        encoded explicitly.
    817817        """
    818         # This test below would fail under Python 2 and I have no idea
    819         # how to make it work there without modifying `ftplib`.
    820         if ftputil.compat.python_version == 2:
    821             return
    822         #
    823818        host = self.host
    824819        # This requires an existing file with an UTF-8 encoded name on
Note: See TracChangeset for help on using the changeset viewer.