def test_basic_temp(tmpdir):
    tmpdir = str(tmpdir)

    print tmpdir
    for i in range(100):
        assert os.path.exists(make_temp(tmpdir, 'test_basic_temp-'))

    dirs = os.listdir(tmpdir)
    assert len(dirs) == 7
    assert 'test_basic_temp-99' in dirs
dataset/ETHPy150Open gosquadron/squadron/squadron/fileio/tests/test_make_temp.py/test_basic_temp/original