awips2/pythonPackages/nose/unit_tests/test_issue_100.rst
root 9f19e3f712 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

12 lines
373 B
ReStructuredText
Executable file

This is a test of the bug reported in issue 100: test.address() fails
for a case defined in a doctest.
>>> import unittest
>>> import nose.case
>>> class SimpleTest(unittest.TestCase):
...
... def runTest(self):
... pass
>>> test = nose.case.Test(SimpleTest())
>>> test.address()
(None, '__builtin__', 'SimpleTest.runTest')