def test_collect_module_empty(self, testdir):
    path = testdir.makepyfile(whatever='#')
    for p in (path, testdir.tmpdir):
        (items, reprec) = testdir.inline_genitems(p, '--doctest-modules')
        assert (len(items) == 0)
def test_collect_module_empty(self, testdir):
    path = testdir.makepyfile(whatever='#')
    for p in (path, testdir.tmpdir):
        (items, reprec) = testdir.inline_genitems(p, '--doctest-modules')
        assert (len(items) == 0)