mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 08:34:41 +04:00
make a few more tests pass on osx.
This commit is contained in:
parent
d02f41920f
commit
aae98a0899
2 changed files with 4 additions and 3 deletions
|
|
@ -149,7 +149,8 @@ def test_environment_not_sourced(tmpdir_factory):
|
|||
|
||||
ret, stdout, stderr = local['git'].run(
|
||||
['commit', '--allow-empty', '-m', 'foo'],
|
||||
env={},
|
||||
# XXX: 'HOME' makes this test pass on OSX
|
||||
env={'HOME': os.environ['HOME']},
|
||||
retcode=None,
|
||||
)
|
||||
assert ret == 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue