Skip to content

Commit

Permalink
Make tests independent of cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Dec 14, 2023
1 parent 5ff248f commit b50d931
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "blosc2_grok"
version = "0.0.2.dev"
version = "0.1.0.dev"
readme = "README.md"
authors = [
{name = "Blosc Development Team", email = "[email protected]"},
Expand Down
5 changes: 3 additions & 2 deletions tests/test_jp2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
import pytest
from PIL import Image
import time
from pathlib import Path


import blosc2
import blosc2_grok


@pytest.mark.parametrize('image', ['examples/kodim23.png', 'examples/MI04_020751.tif'])
project_dir = Path(__file__).parent.parent
@pytest.mark.parametrize('image', [project_dir / 'examples/kodim23.png', project_dir / 'examples/MI04_020751.tif'])
@pytest.mark.parametrize(
'args',
[
Expand Down

0 comments on commit b50d931

Please sign in to comment.