Browse Source

port test_exception to py3k

tags/7.0.0
Sandro Tosi 4 years ago
parent
commit
32ecfae0b1
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      test/test_exception.py

+ 2
- 4
test/test_exception.py View File

@@ -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