13 lines
373 B
ReStructuredText
13 lines
373 B
ReStructuredText
|
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')
|