Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/python-veracity-0.0.11/veracity/test/test_objects.py   python-veracity(Download)
    def test_repo_close_open_branch(self):
        """Verify a branch can be closed and opened"""
        b = Branch('master', repo=TEMP_REPO, branch='master')
        b.close()
        try:
            b.close()  # already closed