<s> from _pytest . main import EXIT_NOTESTSCOLLECTED <EOL> import pytest <EOL> def test_version ( testdir , pytestconfig ) : <EOL> result = testdir . runpytest ( "<STR_LIT>" ) <EOL> assert result . ret == <NUM_LIT:0> <EOL> result . stderr . fnmatch_lines ( [ <EOL> '<STR_LIT>' % ( pytest . __version__ , ) <EOL> ] ) <EOL> if pytestconfig . pluginmanager . list_plugin_distinfo ( ) : <EOL> result . stderr . fnmatch_lines ( [ <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> ] ) <EOL> def test_help ( testdir ) : <EOL> result = testdir . runpytest ( "<STR_LIT>" ) <EOL> assert result . ret == <NUM_LIT:0> <EOL> result . stdout . fnmatch_lines ( """<STR_LIT>""" ) <EOL> def test_hookvalidation_unknown ( testdir ) : <EOL> testdir . makeconftest ( """<STR_LIT>""" ) <EOL> result = testdir . runpytest ( ) <EOL> assert result . ret != <NUM_LIT:0> <EOL> result . stderr . fnmatch_lines ( [ <EOL> '<STR_LIT>' <EOL> ] ) <EOL> def test_hookvalidation_optional ( testdir ) : <EOL> testdir . makeconftest ( """<STR_LIT>""" ) <EOL> result = testdir . runpytest ( ) <EOL> assert result . ret == EXIT_NOTESTSCOLLECTED <EOL> def test_traceconfig ( testdir ) : <EOL> result = testdir . runpytest ( "<STR_LIT>" ) <EOL> result . stdout . fnmatch_lines ( [ <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> ] ) <EOL> def test_debug ( testdir , monkeypatch ) : <EOL> result = testdir . runpytest_subprocess ( "<STR_LIT>" ) <EOL> assert result . ret == EXIT_NOTESTSCOLLECTED <EOL> p = testdir . tmpdir . join ( "<STR_LIT>" ) <EOL> assert "<STR_LIT>" in p . read ( ) <EOL> def test_PYTEST_DEBUG ( testdir , monkeypatch ) : <EOL> monkeypatch . setenv ( "<STR_LIT>" , "<STR_LIT:1>" ) <EOL> result = testdir . runpytest_subprocess ( ) <EOL> assert result . ret == EXIT_NOTESTSCOLLECTED <EOL> result . stderr . fnmatch_lines ( [ <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" <EOL> ] ) </s>
