# Path: fparser/api.py
# def get_reader(input, isfree=None, isstrict=None, include_dirs = None, source_only = None,
#                ignore_comments = True):
# def parse(input, isfree=None, isstrict=None, include_dirs = None, source_only = None,
#           ignore_comments = True, analyze=True):
# def walk(stmt, depth=-1, _initial_depth = None):


from fparser import api
from __future__ import absolute_import


def test_reproduce_issue():
    source_str = '''\
module foo

interface assignment(=)
    module procedure baa
end interface assignment(=)
  
end module foo
'''

# Path: fparser/api.py
# def get_reader(input, isfree=None, isstrict=None, include_dirs = None, source_only = None,
#                ignore_comments = True):
# def parse(input, isfree=None, isstrict=None, include_dirs = None, source_only = None,
#           ignore_comments = True, analyze=True):
# def walk(stmt, depth=-1, _initial_depth = None):


# Path: fparser/tests/test_issue33.py
from fparser import api

from __future__ import absolute_import


def test_reproduce_issue():
    source_str = '''\
module foo

interface assignment(=)
    module procedure baa
end interface assignment(=)
  
end module foo
'''

    tree = api.parse(source_str, isfree=True, isstrict=False,