summaryrefslogtreecommitdiff
path: root/tests/test_funcsigs.py
blob: 1cbe2045940289ea2a0e7005501c0d5ee0a67b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
try:
    # python 2.x
    import unittest2 as unittest
except ImportError:
    # python 3.x
    import unittest

import doctest

import funcsigs


class TestFunctionSignatures(unittest.TestCase):

    def test_has_version(self):
        self.assertTrue(funcsigs.__version__)

    def test_readme(self):
        doctest.testfile('../README.rst')