diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-09-27 16:05:58 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-09-28 03:35:38 +0200 |
commit | e61439b3018b0b9a8eb43e59d0d7cf32041e2fed (patch) | |
tree | 864b8c57283d3167b192b69bd17e366252ebee15 /git/test/test_submodule.py | |
parent | df2fb548040c8313f4bb98870788604bc973fa18 (diff) | |
download | gitpython-e61439b3018b0b9a8eb43e59d0d7cf32041e2fed.tar.gz |
src: constify is_<platform>() calls
+ TCs: unittest-asserts for git-tests.
Diffstat (limited to 'git/test/test_submodule.py')
-rw-r--r-- | git/test/test_submodule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py index 5906b06c..9307bab2 100644 --- a/git/test/test_submodule.py +++ b/git/test/test_submodule.py @@ -26,7 +26,7 @@ from git.repo.fun import ( # Change the configuration if possible to prevent the underlying memory manager # to keep file handles open. On windows we get problems as they are not properly # closed due to mmap bugs on windows (as it appears) -if is_win(): +if is_win: try: import smmap.util smmap.util.MapRegion._test_read_into_memory = True |