test_ok2/testing
Bruno Oliveira 07a560ff24 Fix collection error when tests is specified with --doctest-modules
The problem was that _matchnodes would receive two items: [DoctestModule, Module]. It would then collect the first one, *cache it*, and fail to match against the name in the command line. Next, it would reuse the cached item (DoctestModule) instead of collecting the Module which would eventually find the "test" name on it.

Added the type of the node to the cache key to avoid this problem, although I'm not a big fan of caches that have different key types.

Fix #3843
2018-08-21 21:02:46 -03:00
..
code Fix traceback reporting for exceptions with `__cause__` cycles. 2018-08-15 18:15:07 -07:00
example_scripts Merge pull request #3780 from nicoddemus/mock-integration-fix 2018-08-09 12:26:09 -03:00
examples port some acceptance tests over to copy_example 2018-06-26 22:59:40 +02:00
freeze run black 2018-05-23 16:48:46 +02:00
logging Fixed linting. 2018-08-19 15:46:02 +02:00
python Add test for packages mixed with modules. 2018-08-10 17:29:30 -07:00
acceptance_test.py Fix collection error when tests is specified with --doctest-modules 2018-08-21 21:02:46 -03:00
deprecated_test.py Refactor direct fixture call warning to avoid incompatibility with plugins 2018-08-01 16:38:43 -03:00
test_argcomplete.py Upgrade pre-commit hooks except pyupgrade 2018-06-26 06:35:27 -07:00
test_assertion.py Deprecate calling fixture functions directly 2018-07-26 19:58:42 -03:00
test_assertrewrite.py Fix `TypeError` when the assertion message is `bytes` in python 3. 2018-08-01 15:09:25 -07:00
test_cacheprovider.py fix #3745 - display absolute cache_dir if necessary 2018-08-01 08:25:37 +02:00
test_capture.py Merge pull request #3832 from Sup3rGeo/bugfix/capsys-with-cli-logging 2018-08-21 20:12:31 -03:00
test_collection.py Fix docs formatting and improve test a bit 2018-08-10 18:19:07 -03:00
test_compat.py Use a custom holder class so we can be sure __pytest_wrapper__ was set by us 2018-08-09 09:22:00 -03:00
test_config.py Only consider actual functions when considering hooks 2018-08-04 16:37:07 -03:00
test_conftest.py Deprecate calling fixture functions directly 2018-07-26 19:58:42 -03:00
test_doctest.py Upgrade pre-commit hooks except pyupgrade 2018-06-26 06:35:27 -07:00
test_entry_points.py run black 2018-05-23 16:48:46 +02:00
test_helpconfig.py run black 2018-05-23 16:48:46 +02:00
test_junitxml.py move test reports to own file 2018-06-26 22:09:15 +02:00
test_mark.py Merge remote-tracking branch 'upstream/master' into features 2018-07-04 18:49:35 -03:00
test_modimport.py run black 2018-05-23 16:48:46 +02:00
test_monkeypatch.py Upgrade pre-commit hooks except pyupgrade 2018-06-26 06:35:27 -07:00
test_nodes.py run black 2018-05-23 16:48:46 +02:00
test_nose.py Upgrade pre-commit hooks except pyupgrade 2018-06-26 06:35:27 -07:00
test_parseopt.py Upgrade pre-commit hooks except pyupgrade 2018-06-26 06:35:27 -07:00
test_pastebin.py Upgrade pre-commit hooks except pyupgrade 2018-06-26 06:35:27 -07:00
test_pdb.py Fix test_pdb.py with pexpect 2018-07-02 21:03:21 -07:00
test_pluginmanager.py Fix test and update warning in pytest_namespace docs 2018-07-30 12:16:42 -03:00
test_pytester.py Remove some extraneous `# noqa` comments 2018-07-08 17:05:52 -07:00
test_recwarn.py Upgrade pre-commit hooks except pyupgrade 2018-06-26 06:35:27 -07:00
test_resultlog.py run black 2018-05-23 16:48:46 +02:00
test_runner.py move test reports to own file 2018-06-26 22:09:15 +02:00
test_runner_xunit.py run black 2018-05-23 16:48:46 +02:00
test_session.py Upgrade pre-commit hooks except pyupgrade 2018-06-26 06:35:27 -07:00
test_skipping.py Upgrade pre-commit hooks except pyupgrade 2018-06-26 06:35:27 -07:00
test_terminal.py Upgrade pre-commit hooks except pyupgrade 2018-06-26 06:35:27 -07:00
test_tmpdir.py Remove Testdir.run_example as recommended 2018-07-26 20:10:40 -03:00
test_unittest.py Trimming Trailing Whitespace 2018-08-08 18:18:18 -05:00
test_warnings.py simplified test function 2018-08-14 20:29:42 -05:00