def test_filedb(self):
        tempdir = testutil.TempDir('nlmsa-test')
        filename = tempdir.subfile('nlmsa')
        self.db.write_binaries(filename)
        fdb = cnestedlist.IntervalFileDB(filename)
        assert fdb.find_overlap_list(0, 10) == \
                         [(0, 10, 1, -110, -100), (5, 20, 2, -315, -300)]
        assert fdb.find_overlap_list(-11, -7) == \
                         [(-10, 0, 1, 100, 110), (-20, -5, 2, 300, 315)]

        # fails on windows
        #tempdir.remove()  @CTB
Test cluster level permutations with step_down_p
dataset/ETHPy150Open cjlee112/pygr/tests/nlmsa_test.py/NestedList_Test.test_filedb--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/stats/tests/test_cluster_level.py/test_permutation_step_down_p