Skip to content

Commit

Permalink
Fixing python 38 (#75)
Browse files Browse the repository at this point in the history
* relaxed to use python 3.8

* fixed: tests on windows
  • Loading branch information
Casyfill authored Aug 13, 2024
1 parent e7c3586 commit b32729d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,18 @@ def test_cli_validate_error():

def test_cli_update():
from tempfile import TemporaryDirectory
from pathlib import Path
from dfschema.cli import app
from dfschema.core.config import CURRENT_PROTOCOL_VERSION

with TemporaryDirectory() as tmpdirname:
output_path = f"{tmpdirname}/active_sales_v2.json"
output_path = Path(tmpdirname) / "active_sales_v2.json"
result = runner.invoke(
app,
[
"update",
"tests/test_schemas/v1/good/active_sales.json",
output_path,
str(output_path),
],
)

Expand Down

0 comments on commit b32729d

Please sign in to comment.