Imported Upstream version 1.1.2
[platform/upstream/python-nose.git] / functional_tests / support / package1 / tests / test_example_function.py
1 import example
2 import unittest
3
4 class TestExampleFunction_TestCase(unittest.TestCase):
5     def test_times_two(self):
6         self.assertEqual(example.times_two(2), 4)
7
8
9 class TestExampleFunction:
10     def test_times_two(self):
11         assert example.times_two(2) == 4
12
13
14 def test_times_two():
15     assert example.times_two(2) == 4