Skip to content
Snippets Groups Projects
Commit 0202e7f1 authored by Brett Smith's avatar Brett Smith Committed by Chris Lamb
Browse files

Ensure set_locale fixture runs before all tests.

parent a828cb78
No related branches found
No related tags found
No related merge requests found
......@@ -31,10 +31,6 @@ from diffoscope.presenters.text import output_text
from diffoscope.comparators.binary import FilesystemFile, NonExistingFile
@pytest.fixture(autouse=True)
def set_locale():
diffoscope.set_locale()
def tools_missing(*required):
return not required or any(find_executable(x) is None for x in required)
......
import diffoscope
import pytest
set_locale = pytest.fixture(autouse=True, scope='session')(diffoscope.set_locale)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment