Skip to content

Commit

Permalink
Merge pull request #101 from simonsobs/dev
Browse files Browse the repository at this point in the history
Use `st_none_or` from `nextline_test_utils`
  • Loading branch information
TaiSakuma authored Sep 25, 2024
2 parents 10a3727 + 4072ec6 commit 67a7bc2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 18 deletions.
1 change: 1 addition & 0 deletions ci/latest/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
apluggy==1.0.2
exceptiongroup==1.2.2
transitions==0.9.2
nextline-test-utils==0.1.0
pytest-asyncio==0.24.0
pytest-cov==5.0.0
pytest-timeout==2.3.1
Expand Down
3 changes: 2 additions & 1 deletion ci/minimum/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
apluggy==1.0.0
exceptiongroup==1.2.0
transitions==0.9.0
nextline-test-utils==0.1.0
pytest-asyncio==0.18.0
pytest-cov==3.0.0
pytest-timeout==2.1.0
pytest==7.0.0
hypothesis==6.65.0
hypothesis==6.88.0
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ dynamic = ["version"]
[project.optional-dependencies]
dev = ["black", "isort", "flake8", "mypy", "tox", "twine"]
tests = [
"nextline-test-utils>=0.1",
"pytest-asyncio>=0.18",
"pytest-cov>=3.0",
"pytest-timeout>=2.1",
"pytest>=7.0",
"hypothesis>=6.65",
"hypothesis>=6.88",
]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
TraceNoCounter,
)
from nextline.types import PromptNo, RunNo, TaskNo, ThreadNo, TraceCallNo, TraceNo
from tests.test_utils.st import st_none_or
from nextline_test_utils.strategies import st_none_or

Counter: TypeAlias = Callable[[], int]

Expand Down
15 changes: 0 additions & 15 deletions tests/test_utils/st.py

This file was deleted.

0 comments on commit 67a7bc2

Please sign in to comment.