test_ok2/testing
Bruno Oliveira e2acc1a99b
Fix --import-mode=importlib when root contains `__init__.py` file (#11420)
We cannot have an empty module name when importing a `__init__.py` file that
is at the rootdir.

Fixes #11417
2023-09-10 09:57:40 -03:00
..
_py fix: fixing an issue with pre-commit with mypy and flake8 2023-08-27 15:03:42 -07:00
code Have pytest.raises match against exception `__notes__` (#11227) 2023-07-18 08:39:39 -03:00
example_scripts Move `fixtures.py::add_funcarg_pseudo_fixture_def` to `Metafunc.parametrize` (#11220) 2023-08-09 17:13:45 +00:00
examples fix bug in test for issue 519 2021-03-07 15:01:39 +01:00
freeze testing: fix some docstring issues 2020-08-03 10:10:43 +03:00
io Fix tests pygments 2.14.0 2023-01-04 10:30:28 +01:00
logging Switch to new-style pluggy hook wrappers 2023-07-14 22:47:48 +03:00
plugins_integration build(deps): Bump pytest-html in /testing/plugins_integration (#11384) 2023-09-04 08:08:10 -03:00
python fixtures: clean up getfixtureclosure() 2023-09-08 15:53:49 +03:00
acceptance_test.py Fix duplicated imports with importlib mode and doctest-modules (#11148) 2023-07-01 15:37:46 +00:00
conftest.py Switch to new-style pluggy hook wrappers 2023-07-14 22:47:48 +03:00
deprecated_test.py ignore mypy error on deprecated `Instance` usage 2023-08-22 17:57:59 +10:00
test_argcomplete.py pytest-dev#8204 migrate some tests to tmp_path fixture (#8209) 2021-01-01 17:25:11 +02:00
test_assertion.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_assertrewrite.py Fix assert rewriting with assignment expressions (#11414) 2023-09-09 09:09:31 -03:00
test_cacheprovider.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_capture.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_collection.py Switch to new-style pluggy hook wrappers 2023-07-14 22:47:48 +03:00
test_compat.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_config.py Correct the spelling of ArgSource.INVOCATION_DIR (#11333) 2023-08-23 09:21:17 +00:00
test_conftest.py config: split _getconftestmodules and _loadconftestmodules 2023-08-01 09:46:17 +03:00
test_debugging.py Test fix 2022-10-14 13:53:06 -04:00
test_doctest.py Fix doctest collection of `functools.cached_property` objects. 2023-08-16 00:55:16 -06:00
test_entry_points.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_error_diffs.py Fix diff output for data types where `-v` would show less information (#9661) 2022-02-15 09:43:20 -03:00
test_faulthandler.py Only re-enable fauthandler during unconfigure if it was enabled before 2021-01-25 12:28:00 -03:00
test_findpaths.py Fix bug where file system root was erroneously be used as rootdir on Windows 2022-11-23 14:46:00 -03:00
test_helpconfig.py Document the --code-highlight default (#9883) 2022-05-31 16:32:51 -03:00
test_junitxml.py Fix user_properties not saved to XML if fixture errors during teardown 2023-09-03 14:33:54 -03:00
test_legacypath.py fixtures: make FixtureRequest abstract, add TopRequest subclass 2023-08-12 11:55:08 +03:00
test_link_resolve.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_main.py Fix crash when passing a very long cmdline argument (#11404) 2023-09-07 12:49:25 -03:00
test_mark.py Switch to new-style pluggy hook wrappers 2023-07-14 22:47:48 +03:00
test_mark_expression.py Support forwardslash characters in identifiers (#9249) 2021-11-01 08:54:18 +02:00
test_meta.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_monkeypatch.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_nodes.py Delay warning about collector/item diamond inheritance 2022-02-10 13:50:25 -03:00
test_nose.py python: change `pytest pkg/__init__.py` to only collect the `__init__.py` Module 2023-06-23 20:42:50 +03:00
test_parseopt.py Fix platform-dependent type-check errors (#11345) 2023-08-27 09:40:24 -03:00
test_pastebin.py fix typing issues in mypy 0.920 2021-12-21 20:42:32 -05:00
test_pathlib.py Fix --import-mode=importlib when root contains `__init__.py` file (#11420) 2023-09-10 09:57:40 -03:00
test_pluginmanager.py Fixes for typed pluggy 2023-08-26 22:13:24 +03:00
test_pytester.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_python_path.py Switch to new-style pluggy hook wrappers 2023-07-14 22:47:48 +03:00
test_recwarn.py Further tweaks from code review 2023-07-04 10:00:29 -07:00
test_reports.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_runner.py Switch to new-style pluggy hook wrappers 2023-07-14 22:47:48 +03:00
test_runner_xunit.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_scope.py Refactor internal scope handling by introducing Scope enum 2021-08-01 06:11:56 -03:00
test_session.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_setuponly.py Migrate test_setuponly.py from testdir to pytester (#7959) 2020-10-29 09:55:30 +02:00
test_setupplan.py #7942 test_setupplan.py migrate from testdir to Pytester (#8004) 2020-11-07 09:29:45 -03:00
test_skipping.py fixtures: show test as skip location if skipped from an xunit setup function 2023-07-16 23:26:04 +03:00
test_stash.py Fix typos (#9424) 2021-12-27 09:23:15 -03:00
test_stepwise.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_terminal.py Switch to new-style pluggy hook wrappers 2023-07-14 22:47:48 +03:00
test_threadexception.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_tmpdir.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_unittest.py Switch to new-style pluggy hook wrappers 2023-07-14 22:47:48 +03:00
test_unraisableexception.py Explicit GC for PyPy, take 2 2023-06-30 20:33:12 -07:00
test_warning_types.py fix #10342: put location into warning exceptions 2022-10-06 11:44:05 +02:00
test_warnings.py Change PytestRemovedIn8Warning to error by default 2023-06-23 16:42:24 +03:00
typing_checks.py monkeypatch: add support for TypedDict (#11000) 2023-05-14 22:17:00 +03:00