summaryrefslogtreecommitdiff
path: root/test/test_clone.py
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2021-04-22 16:45:15 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-04-23 07:23:07 +0800
commitb85fec1e333896ac0f27775469482f860e09e5bc (patch)
tree4310cbcd364b2ec7e685a81371acf391c17a8190 /test/test_clone.py
parente0a7824253ae412cf7cc27348ee98c919d382cf2 (diff)
downloadgitpython-b85fec1e333896ac0f27775469482f860e09e5bc.tar.gz
fix flake
Diffstat (limited to 'test/test_clone.py')
-rw-r--r--test/test_clone.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_clone.py b/test/test_clone.py
index e4eb9fe1..e9f6714d 100644
--- a/test/test_clone.py
+++ b/test/test_clone.py
@@ -12,6 +12,7 @@ from .lib import (
with_rw_directory,
)
+
class TestClone(TestBase):
@with_rw_directory
def test_checkout_in_non_empty_dir(self, rw_dir):
@@ -19,7 +20,8 @@ class TestClone(TestBase):
garbage_file = non_empty_dir / 'not-empty'
garbage_file.write_text('Garbage!')
- # Verify that cloning into the non-empty dir fails while complaining about the target directory not being empty/non-existent
+ # Verify that cloning into the non-empty dir fails while complaining about
+ # the target directory not being empty/non-existent
try:
self.rorepo.clone(non_empty_dir)
except git.GitCommandError as exc: