def test_pre_and_postorder(self):
        exp = ['root', 'i1', 'a', 'b', 'i1', 'i2', 'c', 'd', 'i2', 'root']
        obs = [n.name for n in self.simple_t.pre_and_postorder()]
        self.assertEqual(obs, exp)
        obs2 = [n.name for n in self.simple_t.traverse(True, True)]
        self.assertEqual(obs2, exp)
Write file contents to S3 from internal buffer.
dataset/ETHPy150Open biocore/scikit-bio/skbio/tree/tests/test_tree.py/TreeTests.test_pre_and_postorder--crossover with--dataset/ETHPy150Open jcarbaugh/python-s3file/s3file.py/S3File._remote_write