/functional_tests/support/dtt/some_mod.py
https://bitbucket.org/jpellerin/nose/ · Python · 17 lines · 7 code · 1 blank · 9 comment · 0 complexity · 5970cfa867a16bdf4e81373cb18d1105 MD5 · raw file
- """
- Top level
- ---------
- Let's run a test.
- >>> foo(1)
- 2
- >>> 2 + 2
- 4
- """
- def foo(a):
- """
- >>> foo(2)
- 3
- """
- return a + 1