1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-23 06:31:58 +00:00

Merge pull request #1959 from ThomasWaldmann/pretty-test-fails2

pytest: only rewrite the testsuite, fixes #1938
This commit is contained in:
TW 2016-12-16 00:25:24 +01:00 committed by GitHub
commit 4f0c2ab68c

View file

@ -5,7 +5,7 @@
import pytest
# needed to get pretty assertion failures in unit tests:
pytest.register_assert_rewrite('borg')
pytest.register_assert_rewrite('borg.testsuite')
# This is a hack to fix path problems because "borg" (the package) is in the source root.
# When importing the conftest an "import borg" can incorrectly import the borg from the