Message333300
I applied the patch from https://bugs.python.org/file44679 and it fixed the issue for this example using the unittest module:
```python
import unittest
class StdErrUnitTests(unittest.TestCase):
def test_function_name(self):
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'}"
self.assertEqual(expected, actual)
if __name__ == '__main__':
unittest.main()
``` |
|
Date |
User |
Action |
Args |
2019-01-09 11:04:15 | addons_zz | set | recipients:
+ addons_zz, paul.moore, rbcollins, tim.golden, ned.deily, ezio.melotti, michael.foord, zach.ware, xtreak |
2019-01-09 11:04:13 | addons_zz | set | messageid: <1547031853.57.0.059554856156.issue35687@roundup.psfhosted.org> |
2019-01-09 11:04:13 | addons_zz | link | issue35687 messages |
2019-01-09 11:04:13 | addons_zz | create | |
|