From 27b4efed7a435153f18598796473b3fba06c513d Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 8 Jan 2015 10:14:15 +0100 Subject: Added assertion to better detect diff issues. Helps fixing #35 Also, the production status was changed to 'stable', which should have been done much earlier. --- git/test/test_diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/test/test_diff.py') diff --git a/git/test/test_diff.py b/git/test/test_diff.py index 3453f6a8..c5183089 100644 --- a/git/test/test_diff.py +++ b/git/test/test_diff.py @@ -80,7 +80,7 @@ class TestDiff(TestBase): for other in (None, commit.Index, commit.parents[0]): for paths in (None, "CHANGES", ("CHANGES", "lib")): for create_patch in range(2): - diff_index = diff_item.diff(other, paths, create_patch) + diff_index = diff_item.diff(other=other, paths=paths, create_patch=create_patch) assert isinstance(diff_index, DiffIndex) if diff_index: -- cgit v1.2.1