Changeset 1480:9d44889174f4


Ignore:
Timestamp:
Apr 19, 2014, 3:09:23 PM (5 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Use `TestCase.fail()` instead of `TestCase.assertTrue(False)`.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_error.py

    r1343 r1480  
    4646        else:
    4747            # We shouldn't come here.
    48             self.assertTrue(False)
     48            self.fail()
    4949
    5050    def test_ftplib_error_to_ftp_io_error(self):
     
    6161        else:
    6262            # We shouldn't come here.
    63             self.assertTrue(False)
     63            self.fail()
    6464
    6565
Note: See TracChangeset for help on using the changeset viewer.