[diffoscope] 01/01: Correct call to get_current_os method.

Chris Lamb chris at chris-lamb.co.uk
Thu May 10 17:50:13 CEST 2018


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit 45bcf708595d4fe4e96d99b972de9c063ea7e432
Author: Chris Lamb <lamby at debian.org>
Date:   Thu May 10 16:49:56 2018 +0100

    Correct call to get_current_os method.
---
 tests/comparators/test_git.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/comparators/test_git.py b/tests/comparators/test_git.py
index 781f97f..df70f3b 100644
--- a/tests/comparators/test_git.py
+++ b/tests/comparators/test_git.py
@@ -43,7 +43,7 @@ def differences(git1, git2):
 
 
 def test_diff(differences):
-    if get_current_os == 'FreeBSD':
+    if get_current_os() == 'FreeBSD':
         expected_diff = get_data('git_expected_diff_freebsd')
     else:
         expected_diff = get_data('git_expected_diff')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list