Skip to content

Commit bd4ba50

Browse files
committed
Update other test
1 parent 7456830 commit bd4ba50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,11 @@ def test_stanc_options() -> None:
155155
stanc_opts = model.stanc_options
156156
assert stanc_opts[f'O{optim}']
157157
assert stanc_opts['allow-undefined']
158-
assert stanc_opts['use-opencl']
159158
assert stanc_opts['name'] == 'foo'
160159

161160
cpp_opts = model.cpp_options
162161
assert cpp_opts['STAN_OPENCL'] == 'TRUE'
162+
assert not stanc_opts.get('use-opencl')
163163

164164
with pytest.raises(ValueError):
165165
bad_opts = {'X': True}

0 commit comments

Comments
 (0)