
import unittest

from glob import glob
from os.path import dirname,join,pardir
from doctest import DocFileSuite,REPORT_NDIFF,ELLIPSIS

options = REPORT_NDIFF|ELLIPSIS

def test_suite():
    return unittest.TestSuite((
        DocFileSuite(
                *glob(join(dirname(__file__),pardir,'docs','*.txt')),
                module_relative=False,
                optionflags=options
                ),
        ))


from glob import glob
from manuel import doctest,codeblock
from manuel.testing import TestSuite
from os.path import dirname,join,pardir
from doctest import REPORT_NDIFF,ELLIPSIS

def test_suite():
    m =  doctest.Manuel(optionflags=REPORT_NDIFF|ELLIPSIS)
    m += codeblock.Manuel()
    return TestSuite(
        m,
        *glob(join(dirname(__file__),pardir,pardir,'docs','*.txt'))
        )

Use Manuel instead of doctest.
Use Manuel instead of doctest.

- 
- import unittest
  
  from glob import glob
+ from manuel import doctest,codeblock
+ from manuel.testing import TestSuite
  from os.path import dirname,join,pardir
- from doctest import DocFileSuite,REPORT_NDIFF,ELLIPSIS
+ from doctest import REPORT_NDIFF,ELLIPSIS
- 
- options = REPORT_NDIFF|ELLIPSIS
  
  def test_suite():
+     m =  doctest.Manuel(optionflags=REPORT_NDIFF|ELLIPSIS)
+     m += codeblock.Manuel()
-     return unittest.TestSuite((
+     return TestSuite(
-         DocFileSuite(
+         m,
-                 *glob(join(dirname(__file__),pardir,'docs','*.txt')),
+         *glob(join(dirname(__file__),pardir,pardir,'docs','*.txt'))
-                 module_relative=False,
-                 optionflags=options
-                 ),
-         ))
+         )
  
Use Manuel instead of doctest.
## Code Before:

import unittest

from glob import glob
from os.path import dirname,join,pardir
from doctest import DocFileSuite,REPORT_NDIFF,ELLIPSIS

options = REPORT_NDIFF|ELLIPSIS

def test_suite():
    return unittest.TestSuite((
        DocFileSuite(
                *glob(join(dirname(__file__),pardir,'docs','*.txt')),
                module_relative=False,
                optionflags=options
                ),
        ))

## Instruction:
Use Manuel instead of doctest.
## Code After:

from glob import glob
from manuel import doctest,codeblock
from manuel.testing import TestSuite
from os.path import dirname,join,pardir
from doctest import REPORT_NDIFF,ELLIPSIS

def test_suite():
    m =  doctest.Manuel(optionflags=REPORT_NDIFF|ELLIPSIS)
    m += codeblock.Manuel()
    return TestSuite(
        m,
        *glob(join(dirname(__file__),pardir,pardir,'docs','*.txt'))
        )
