Skip to content

Commit fa55851

Browse files
committed
chore: more consistency updates
1 parent 07153b4 commit fa55851

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_with_git_repo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,17 @@
1010

1111
_LOG = logging.getLogger(__name__)
1212

13-
__updated__ = '2020-01-29'
13+
__version__ = '2022.08.18'
1414

1515

1616
class GitRepoTests(unittest.TestCase):
17-
1817
"""Provide several utility propertied and methods named repo_* and git_*."""
1918

2019
repo = None # type: git.Repo
2120
repo_path = None # type: pathlib.Path
2221

2322
def setUp(self):
24-
self._tmpdir = tempfile.TemporaryDirectory()
23+
self._tmpdir = tempfile.TemporaryDirectory() # pylint: disable=consider-using-with
2524
self.repo_path = pathlib.Path(self._tmpdir.name)
2625
self.assertTrue(self.repo_path.is_dir())
2726
self.repo = None
@@ -84,6 +83,7 @@ def git_modify_file(self, path: pathlib.Path, add: bool = False, commit: bool =
8483

8584

8685
class GitRepoSelfTests(GitRepoTests):
86+
"""Check that GitRepoTests class works."""
8787

8888
def test_typical(self):
8989
self.git_init()

0 commit comments

Comments
 (0)