fix(blame): Support Python 3.7 in the test suite · gitpython-developers/GitPython@bdff7ec · GitHub
Skip to content

Commit bdff7ec

Browse files
committed
fix(blame): Support Python 3.7 in the test suite
Apparently the public attributes of a `MagicMock` changed between 3.7 and 3.8, which was causing the unit test for `rev_opts` to fail. The unit test has been improved to use more stable APIs so that it can pass in all versions of Python supported by GitPython.
1 parent c0225b3 commit bdff7ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test_repo.py

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)