Mercurial > p > roundup > code
comparison test/test_mailer.py @ 5248:198b6e810c67
Use Python-3-compatible 'as' syntax for except statements
Many raise statements near these are also fixed.
So are two ivorrect file encoding marks ('utf8'->'utf-8').
| author | Eric S. Raymond <esr@thyrsus.com> |
|---|---|
| date | Thu, 24 Aug 2017 22:21:37 -0400 |
| parents | 364c54991861 |
| children | bc2e682e0305 |
comparison
equal
deleted
inserted
replaced
| 5247:7f00a47b3559 | 5248:198b6e810c67 |
|---|---|
| 1 #-*- encoding: utf8 -*- | 1 #-*- encoding: utf-8 -*- |
| 2 import unittest | 2 import unittest |
| 3 | 3 |
| 4 from roundup import mailer | 4 from roundup import mailer |
| 5 | 5 |
| 6 class EncodingTestCase(unittest.TestCase): | 6 class EncodingTestCase(unittest.TestCase): |
