import unittest

import odil

class TestException(unittest.TestCase):
    def test_python_generic(self):
        with self.assertRaises(Exception):
            raise odil.Exception()
    
    def test_python_specific(self):
        with self.assertRaises(odil.Exception):
            raise odil.Exception()

    def test_cpp_generic(self):
        tag = odil.Tag(0xdead, 0xbeef)
        with self.assertRaises(Exception):
            tag.get_name()
    
    def test_cpp_specific(self):
        tag = odil.Tag(0xdead, 0xbeef)
        with self.assertRaises(odil.Exception):
            tag.get_name()

if __name__ == "__main__":
    unittest.main()

39e0fc37d7345749ce62e8c7895c8d839c944db8
<mask token>


class TestException(unittest.TestCase):

    def test_python_generic(self):
        with self.assertRaises(Exception):
            raise odil.Exception()

    def test_python_specific(self):
        with self.assertRaises(odil.Exception):
            raise odil.Exception()
    <mask token>

    def test_cpp_specific(self):
        tag = odil.Tag(57005, 48879)
        with self.assertRaises(odil.Exception):
            tag.get_name()


<mask token>

<mask token>


class TestException(unittest.TestCase):

    def test_python_generic(self):
        with self.assertRaises(Exception):
            raise odil.Exception()

    def test_python_specific(self):
        with self.assertRaises(odil.Exception):
            raise odil.Exception()

    def test_cpp_generic(self):
        tag = odil.Tag(57005, 48879)
        with self.assertRaises(Exception):
            tag.get_name()

    def test_cpp_specific(self):
        tag = odil.Tag(57005, 48879)
        with self.assertRaises(odil.Exception):
            tag.get_name()


<mask token>

<mask token>


class TestException(unittest.TestCase):

    def test_python_generic(self):
        with self.assertRaises(Exception):
            raise odil.Exception()

    def test_python_specific(self):
        with self.assertRaises(odil.Exception):
            raise odil.Exception()

    def test_cpp_generic(self):
        tag = odil.Tag(57005, 48879)
        with self.assertRaises(Exception):
            tag.get_name()

    def test_cpp_specific(self):
        tag = odil.Tag(57005, 48879)
        with self.assertRaises(odil.Exception):
            tag.get_name()


if __name__ == '__main__':
    unittest.main()

import unittest
import odil


class TestException(unittest.TestCase):

    def test_python_generic(self):
        with self.assertRaises(Exception):
            raise odil.Exception()

    def test_python_specific(self):
        with self.assertRaises(odil.Exception):
            raise odil.Exception()

    def test_cpp_generic(self):
        tag = odil.Tag(57005, 48879)
        with self.assertRaises(Exception):
            tag.get_name()

    def test_cpp_specific(self):
        tag = odil.Tag(57005, 48879)
        with self.assertRaises(odil.Exception):
            tag.get_name()


if __name__ == '__main__':
    unittest.main()

import unittest

import odil

class TestException(unittest.TestCase):
    def test_python_generic(self):
        with self.assertRaises(Exception):
            raise odil.Exception()
    
    def test_python_specific(self):
        with self.assertRaises(odil.Exception):
            raise odil.Exception()

    def test_cpp_generic(self):
        tag = odil.Tag(0xdead, 0xbeef)
        with self.assertRaises(Exception):
            tag.get_name()
    
    def test_cpp_specific(self):
        tag = odil.Tag(0xdead, 0xbeef)
        with self.assertRaises(odil.Exception):
            tag.get_name()

if __name__ == "__main__":
    unittest.main()
