============================= test session starts ==============================
platform linux -- Python 3.6.10, pytest-5.4.3, py-1.8.2, pluggy-0.13.1
rootdir: /home/aryaman4/pm-pyro
collected 8 items

pmpyro/tests.py ........                                                 [100%]

=============================== warnings summary ===============================
pmpyro/tests.py::test_sample_posterior_predictive
  /home/aryaman4/anaconda3/envs/pm-pyro/lib/python3.6/site-packages/pyro/infer/mcmc/util.py:580: FutureWarning: The `mcmc.predictive` function is deprecated and will be removed in a future release. Use the `pyro.infer.Predictive` class instead.
    FutureWarning)

pmpyro/tests.py::test_variational
  /home/aryaman4/anaconda3/envs/pm-pyro/lib/python3.6/site-packages/torch/distributions/utils.py:32: TracerWarning: torch.tensor results are registered as constants in the trace. You can safely ignore this warning if you use this function to create tensors out of constant variables that would be the same every time you call this function. In any other case, this might cause the trace to be incorrect.
    for v in values]

pmpyro/tests.py::test_variational
  /home/aryaman4/anaconda3/envs/pm-pyro/lib/python3.6/site-packages/torch/distributions/half_cauchy.py:54: TracerWarning: torch.as_tensor results are registered as constants in the trace. You can safely ignore this warning if you use this function to create tensors out of constant variables that would be the same every time you call this function. In any other case, this might cause the trace to be incorrect.
    device=self.base_dist.scale.device)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
========================== slowest 10 test durations ===========================
1.45s setup    pmpyro/tests.py::test_traceplot
1.15s call     pmpyro/tests.py::test_sample
0.93s setup    pmpyro/tests.py::test_plot_posterior
0.85s setup    pmpyro/tests.py::test_summary
0.79s setup    pmpyro/tests.py::test_sample_posterior_predictive
0.07s call     pmpyro/tests.py::test_traceplot
0.04s call     pmpyro/tests.py::test_variational
0.03s call     pmpyro/tests.py::test_plot_posterior
0.02s call     pmpyro/tests.py::test_summary

(0.00 durations hidden.  Use -vv to show these durations.)
======================== 8 passed, 3 warnings in 6.82s =========================
