# Path: pywrap/testing.py
# @contextmanager
# def cython_extension_from(headers, modulename=None, config=Config(),
#                           assert_warn=None, warn_msg=None, incdirs=[],
#                           hide_errors=False, cleanup=True):
#     incdirs = full_paths(incdirs)
#     filenames = _write_cython_wrapper(full_paths(headers), modulename,
#                                       config, incdirs, assert_warn, warn_msg)
#     run_setup(SETUPPY_NAME, hide_errors)
#     try:
#         yield
#     finally:
#         if cleanup:
#             remove_files(filenames)
# 
# Path: pywrap/utils.py
# def lines(*args):
#     """Make multi-line string."""
#     return os.linesep.join(args)


from pywrap.testing import cython_extension_from
from pywrap.utils import lines
from nose.tools import assert_multi_line_equal, assert_equal
        from comments import MyClass, MyEnum


def test_comments():
    with cython_extension_from("comments.hpp"):
        assert_multi_line_equal(
            lines("This is a brief class description.",

# Path: pywrap/testing.py
# @contextmanager
# def cython_extension_from(headers, modulename=None, config=Config(),
#                           assert_warn=None, warn_msg=None, incdirs=[],
#                           hide_errors=False, cleanup=True):
#     incdirs = full_paths(incdirs)
#     filenames = _write_cython_wrapper(full_paths(headers), modulename,
#                                       config, incdirs, assert_warn, warn_msg)
#     run_setup(SETUPPY_NAME, hide_errors)
#     try:
#         yield
#     finally:
#         if cleanup:
#             remove_files(filenames)
# 
# Path: pywrap/utils.py
# def lines(*args):
#     """Make multi-line string."""
#     return os.linesep.join(args)


# Path: test/test_comments.py
from pywrap.testing import cython_extension_from
from pywrap.utils import lines
from nose.tools import assert_multi_line_equal, assert_equal
        from comments import MyClass, MyEnum



def test_comments():
    with cython_extension_from("comments.hpp"):
        assert_multi_line_equal(
            lines("This is a brief class description.",

                  "",