diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-03 23:35:55 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-04 02:10:48 +0200 |
commit | a469af892b3e929cbe9d29e414b6fcd59bec246e (patch) | |
tree | f1ab9ed8946b3be2bb7ed1d3529ad5c0f348f550 /git/test/test_submodule.py | |
parent | be44602b633cfb49a472e192f235ba6de0055d38 (diff) | |
download | gitpython-a469af892b3e929cbe9d29e414b6fcd59bec246e.tar.gz |
src: No PyDev warnings
+ Mark all unused vars and other non-pep8 (PyDev) warnings
+ test_utils:
+ enable & fix forgotten IterableList looped path.
+ unittestize all assertions.
+ remote: minor fix progress dispatching unknown err-lines
Diffstat (limited to 'git/test/test_submodule.py')
-rw-r--r-- | git/test/test_submodule.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py index 481783a6..be388e5d 100644 --- a/git/test/test_submodule.py +++ b/git/test/test_submodule.py @@ -30,7 +30,7 @@ from git.util import to_native_path_linux, join_path_native # closed due to mmap bugs on windows (as it appears) if is_win: try: - import smmap.util + import smmap.util # @UnusedImport smmap.util.MapRegion._test_read_into_memory = True except ImportError: sys.stderr.write("The submodule tests will fail as some files cannot be removed due to open file handles.\n") @@ -98,7 +98,7 @@ class TestSubmodule(TestBase): # force it to reread its information del(smold._url) - smold.url == sm.url + smold.url == sm.url # @NoEffect # test config_reader/writer methods sm.config_reader() @@ -225,7 +225,7 @@ class TestSubmodule(TestBase): assert csm.module_exists() # tracking branch once again - csm.module().head.ref.tracking_branch() is not None + csm.module().head.ref.tracking_branch() is not None # @NoEffect # this flushed in a sub-submodule assert len(list(rwrepo.iter_submodules())) == 2 |