Skip to content

Commit 6699d66

Browse files
committed
- Black formatting, once again...
1 parent 8699dad commit 6699d66

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pymc3/tests/test_sampling.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -777,13 +777,14 @@ def test_default_sample_nuts_jitter(init, start, expectation, monkeypatch):
777777
# being used when pm.sample() is called without specifying an explicit start point (see
778778
# https://github.com/pymc-devs/pymc3/pull/4285).
779779
def _mocked_init_nuts(*args, **kwargs):
780-
if init == 'adapt_diag':
781-
start_ = [{'x': np.array(0.79788456)}]
780+
if init == "adapt_diag":
781+
start_ = [{"x": np.array(0.79788456)}]
782782
else:
783-
start_ = [{'x': np.array(-0.04949886)}]
783+
start_ = [{"x": np.array(-0.04949886)}]
784784
_, step = pm.init_nuts(*args, **kwargs)
785785
return start_, step
786-
monkeypatch.setattr('pymc3.sampling.init_nuts', _mocked_init_nuts)
786+
787+
monkeypatch.setattr("pymc3.sampling.init_nuts", _mocked_init_nuts)
787788
with pm.Model() as m:
788789
x = pm.HalfNormal("x", transform=None)
789790
with expectation:

0 commit comments

Comments
 (0)