File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 78
78
install-jax : [0]
79
79
install-torch : [0]
80
80
part :
81
- - " --doctest-modules --ignore=pytensor/misc/check_duplicate_key.py pytensor --ignore=pytensor/link"
81
+ - " --doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
82
82
- " tests --ignore=tests/tensor --ignore=tests/scan --ignore=tests/sparse"
83
83
- " tests/scan"
84
84
- " tests/sparse"
97
97
part : " tests/tensor/test_math.py"
98
98
- fast-compile : 1
99
99
float32 : 1
100
- - part : " --doctest-modules --ignore=pytensor/misc/check_duplicate_key.py pytensor --ignore=pytensor/link"
100
+ - part : " --doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
101
101
float32 : 1
102
- - part : " --doctest-modules --ignore=pytensor/misc/check_duplicate_key.py pytensor --ignore=pytensor/link"
102
+ - part : " --doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
103
103
fast-compile : 1
104
104
include :
105
105
- install-numba : 1
Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ versionfile_source = "pytensor/_version.py"
116
116
versionfile_build = " pytensor/_version.py"
117
117
tag_prefix = " rel-"
118
118
119
- [tool .pytest ]
120
- addopts = " --durations=50 --doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link "
121
- testpaths = " tests/"
119
+ [tool .pytest . ini_options ]
120
+ addopts = " --durations=50 --doctest-modules --ignore=pytensor/link --ignore=pytensor/misc/check_duplicate_key.py "
121
+ testpaths = [ " pytensor/ " , " tests/" ]
122
122
123
123
[tool .ruff ]
124
124
line-length = 88
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ def fetch_seed(pseed=None):
27
27
None, which is equivalent to seeding with a random seed.
28
28
29
29
Useful for seeding RandomState or Generator objects.
30
- >>> rng = np.random.RandomState(unittest_tools. fetch_seed())
31
- >>> rng = np.random.default_rng(unittest_tools. fetch_seed())
30
+ >>> rng = np.random.RandomState(fetch_seed())
31
+ >>> rng = np.random.default_rng(fetch_seed())
32
32
"""
33
33
34
34
seed = pseed or config .unittests__rseed
You can’t perform that action at this time.
0 commit comments