New issue 684: parametrized fixture with session scope initialized twise https://bitbucket.org/hpk42/pytest/issue/684/parametrized-fixture-with-session-scope
aokhotin: I attached two files were bug reproduced. steps: ``` #!bash $ py.test --version This is pytest version 2.6.4, imported from /home/username/venv/local/lib/python2.7/site-packages/pytest.pyc ``` so there no any plugins. ``` #!bash py.test -sv ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4 -- /home/username/venv/bin/python collected 21 items test_solar.py::test_one PASSED test_solar.py::test_three[pluto-1] sun '1' "sun '1'" - "pluto" PASSED test_solar.py::test_four[pluto-1] PASSED test_solar.py::test_three[pluto-2] sun '2' "sun '2'" - "pluto" PASSED test_solar.py::test_four[pluto-2] PASSED test_solar.py::test_three[neptun-2] "sun '2'" - "neptun" PASSED test_solar.py::test_four[neptun-2] PASSED test_solar.py::test_three[neptun-1] sun '1' "sun '1'" - "neptun" PASSED test_solar.py::test_four[neptun-1] PASSED test_solar.py::test_three[neptun-3] sun '3' "sun '3'" - "neptun" PASSED test_solar.py::test_four[neptun-3] PASSED test_solar.py::test_three[pluto-3] "sun '3'" - "pluto" PASSED test_solar.py::test_four[pluto-3] PASSED test_solar.py::test_three[neptun-4] sun '4' "sun '4'" - "neptun" PASSED test_solar.py::test_four[neptun-4] PASSED test_solar.py::test_three[pluto-4] "sun '4'" - "pluto" PASSED test_solar.py::test_four[pluto-4] PASSED test_solar.py::test_three[neptun-5] sun '5' "sun '5'" - "neptun" PASSED test_solar.py::test_four[neptun-5] PASSED test_solar.py::test_three[pluto-5] "sun '5'" - "pluto" PASSED test_solar.py::test_four[pluto-5] PASSED ``` The fact that "sun '1'" have been initialized twise is unexpected. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit