Ensure that line endings in all py files are Linux style instead of Windows (#1250)

This commit is contained in:
Micah Jerome Ellison 2021-06-05 13:15:17 -07:00 committed by GitHub
parent 6fc252b2c7
commit e84bb603eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 54 deletions

View file

@ -1,13 +1,13 @@
from unittest import mock
import pytest
import sys
@pytest.mark.filterwarnings(
"ignore:.*imp module is deprecated.*"
) # ansiwrap spits out an unrelated warning
def test_initialize_autocomplete_runs_without_readline():
from jrnl import install
with mock.patch.dict(sys.modules, {"readline": None}):
install._initialize_autocomplete() # should not throw exception
from unittest import mock
import pytest
import sys
@pytest.mark.filterwarnings(
"ignore:.*imp module is deprecated.*"
) # ansiwrap spits out an unrelated warning
def test_initialize_autocomplete_runs_without_readline():
from jrnl import install
with mock.patch.dict(sys.modules, {"readline": None}):
install._initialize_autocomplete() # should not throw exception