From b85fec1e333896ac0f27775469482f860e09e5bc Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 22 Apr 2021 16:45:15 +0800 Subject: fix flake --- test/test_clone.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') 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: -- cgit v1.2.1