Former-commit-id:06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]] Former-commit-id:9f19e3f712
Former-commit-id:a02aeb236c
12 lines
373 B
ReStructuredText
Executable file
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')
|