def test01_move(self):
        """Test moving a node."""

        def pre():
            self.h5file.create_array('/', 'array', [1])

        def doit(newpath):
            self.h5file.move_node('/array', newpath, createparents=True)
            self.assertTrue('/array' not in self.h5file)
            self.assertTrue(join_path(newpath, 'array') in self.h5file)

        def post(newpath):
            self.assertTrue('/array' in self.h5file)
            self.assertTrue(self.h5file not in join_path(newpath, 'array'))
        self.basetest(doit, pre, post)
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_do_undo.py/CreateParentsTestCase.test01_move/swapped operands of `not in`