From bb0f3d78d6980a1d43f05cb17a8da57a196a34f3 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 20 Jan 2015 22:13:45 +0100 Subject: Fixed flake8 and a minor test regression. The latter happened as now BadName is thrown, instead of BadObject. Changes.rst was marked accordingly --- git/test/test_submodule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git/test/test_submodule.py') diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py index b9502f75..6a03fe26 100644 --- a/git/test/test_submodule.py +++ b/git/test/test_submodule.py @@ -535,7 +535,7 @@ class TestSubmodule(TestBase): touch(nsm_file) nsm.module().index.add([nsm]) nsm.module().index.commit("added new file") - rm.update(recursive=False, dry_run=True, progress=prog) # would not change head, and thus doens't fail + rm.update(recursive=False, dry_run=True, progress=prog) # would not change head, and thus doens't fail # Everything we can do from now on will trigger the 'future' check, so no is_dirty() check will even run # This would only run if our local branch is in the past and we have uncommitted changes @@ -691,7 +691,7 @@ class TestSubmodule(TestBase): def assert_exists(sm, value=True): assert sm.exists() == value assert sm.module_exists() == value - # end + # end # As git is backwards compatible itself, it would still recognize what we do here ... unless we really # muss it up. That's the only reason why the test is still here ... . -- cgit v1.2.1