Browse Source

port test_exception to py3k

master
Sandro Tosi 6 years ago
parent
commit
32ecfae0b1
  1. 6
      test/test_exception.py

6
test/test_exception.py

@ -1,11 +1,9 @@
from __future__ import with_statement
import unittest2
import unittest
from reportbug import exceptions
class TestExceptions(unittest2.TestCase):
class TestExceptions(unittest.TestCase):
def test_raises_reportbug_exception(self):
with self.assertRaises(exceptions.reportbug_exception):

Loading…
Cancel
Save