mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-25 18:34:32 +02:00
Skip this test on Windows
This commit is contained in:
parent
96bc06db03
commit
db2dd6d9f3
1 changed files with 5 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ from click.testing import CliRunner
|
|||
import os
|
||||
import pathlib
|
||||
import pytest
|
||||
import sys
|
||||
|
||||
|
||||
@pytest.mark.parametrize("silent", (False, True))
|
||||
|
|
@ -130,6 +131,10 @@ def test_insert_files_stdin(use_text, encoding, input, expected):
|
|||
assert {"path": "stdin-name", key: expected}.items() <= row.items()
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
sys.platform.startswith("win"),
|
||||
reason="Windows has a different way of handling default encodings",
|
||||
)
|
||||
def test_insert_files_bad_text_encoding_error():
|
||||
runner = CliRunner()
|
||||
with runner.isolated_filesystem():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue