def assert_root(monkeypatch, expected_root):
    def assertion(root, unused_parse):
        assert root == expected_root
    monkeypatch.setattr(setuptools_scm, '_do_parse', assertion)
:param root: The root directory for the corpus.
dataset/ETHPy150Open blue-yonder/pyscaffold/pyscaffold/contrib/setuptools_scm/testing/test_basic_api.py/assert_root--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/corpus/reader/reviews.py/ReviewsCorpusReader.__init__