diff --git a/tests/integration/modules/git.py b/tests/integration/modules/git.py index d404d7101c..548bcd1995 100644 --- a/tests/integration/modules/git.py +++ b/tests/integration/modules/git.py @@ -41,7 +41,7 @@ def _git_version(): git_version = subprocess.Popen( ['git', '--version'], shell=False, - close_fds=False if salt.utils.is_windows else True, + close_fds=False if salt.utils.is_windows() else True, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()[0] except OSError: