Changes between Initial Version and Version 1 of Ticket #26942, comment 4


Ignore:
Timestamp:
Jul 30, 2016, 9:30:31 PM (8 years ago)
Author:
Chris Jerdonek

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26942, comment 4

    initial v1  
    44
    55{{{#!python
    6     def addSubTest(self, test, subtest, err):
    7         # Following unittest.TestResult.addSubTest()'s implementation in
    8         # Python 3.5, we don't do anything with subtests on success
    9         # See here for the Django ticket to support subtests with the
    10         # --parallel test option:
    11         # https://code.djangoproject.com/ticket/26942
    12         if err is not None:
    13             self.check_picklable(test, err)
    14             self.events.append(('addSubTest', self.test_index, subtest, err))
    15             self.stop_if_failfast()
     6def addSubTest(self, test, subtest, err):
     7    # Following unittest.TestResult.addSubTest()'s implementation in
     8    # Python 3.5, we don't do anything with subtests on success
     9    # See here for the Django ticket to support subtests with the
     10    # --parallel test option:
     11    # https://code.djangoproject.com/ticket/26942
     12    if err is not None:
     13        self.check_picklable(test, err)
     14        self.events.append(('addSubTest', self.test_index, subtest, err))
     15        self.stop_if_failfast()
    1616}}}
    1717
Back to Top