Throw an exception

Create a simple function that throws an exception (called "Exception") when run.

throw_exception() == "Exception: Something went wrong"
import unittest


class Test_Exception(unittest.TestCase):
    def test_throw_exception(self):
        self.assertRaises(Exception, throw_exception)