This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author addons_zz
Recipients addons_zz, ezio.melotti, michael.foord, ned.deily, paul.moore, rbcollins, tim.golden, xtreak, zach.ware
Date 2019-01-09.10:50:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547031033.94.0.702624283107.issue35687@roundup.psfhosted.org>
In-reply-to
Content
The issue is also reproducible, by directly using difflib:
```python
import difflib

def bugged_diff(expected, actual):
    expected = expected.splitlines( 1 )
    actual = actual.splitlines( 1 )

    # diff = difflib.ndiff( expected, actual )
    if expected != actual:
        diff = difflib.context_diff( expected, actual, fromfile='expected input', tofile='actual output', lineterm='\n' )
        return '\n' + ''.join( diff )


if __name__ == '__main__':
    expected = "testing.main_unit_tests.test_dictionaryBasicLogging:416 - dictionary\n" \
            "testing.main_unit_tests.test_dictionaryBasicLogging:417 - dictionary {1: 'defined_chunk'}"

    actual = "15:49:35:912.348986 - testing.main_unit_tests - dictionary\n" \
            "15:49:35:918.879986 - testing.main_unit_tests - dictionary {1: 'defined_chunk'}"

    print( expected, actual )
```

It outputs:
```
testing.main_unit_tests.test_dictionaryBasicLogging:416 - dictionary
testing.main_unit_tests.test_dictionaryBasicLogging:417 - dictionary {1: 'defined_chunk'} 15:49:35:912.348986 - testing.main_unit_tests - dictionary
15:49:35:918.879986 - testing.main_unit_tests - dictionary {1: 'defined_chunk'}
```

But it should be: (still missing the new line on the same place as `assertEqual` does)
```
testing.main_unit_tests.test_dictionaryBasicLogging:416 - dictionary
testing.main_unit_tests.test_dictionaryBasicLogging:417 - dictionary {1: 'defined_chunk'} 
15:49:35:912.348986 - testing.main_unit_tests - dictionary
15:49:35:918.879986 - testing.main_unit_tests - dictionary {1: 'defined_chunk'}
```
History
Date User Action Args
2019-01-09 10:50:36addons_zzsetrecipients: + addons_zz, paul.moore, rbcollins, tim.golden, ned.deily, ezio.melotti, michael.foord, zach.ware, xtreak
2019-01-09 10:50:33addons_zzsetmessageid: <1547031033.94.0.702624283107.issue35687@roundup.psfhosted.org>
2019-01-09 10:50:33addons_zzlinkissue35687 messages
2019-01-09 10:50:33addons_zzcreate