summaryrefslogtreecommitdiff
path: root/git/test/test_submodule.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/test_submodule.py')
-rw-r--r--git/test/test_submodule.py2
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