Commit Graph

  • ae2473b8ff Accepting request 840182 from devel:languages:python:pytest Dominique Leuenberger 2020-10-29 08:46:56 +00:00
  • 91af81ca69 Accepting request 840068 from home:mcalabkova:branches:devel:languages:python:pytest Markéta Machová 2020-10-08 06:52:28 +00:00
  • 1d4a9a3a62 Accepting request 829560 from devel:languages:python:pytest Dominique Leuenberger 2020-09-04 08:58:09 +00:00
  • e3a3f9727c fix of my.. Ondřej Súkup 2020-08-24 18:43:11 +00:00
  • 8e43915b11 test.. Ondřej Súkup 2020-08-24 18:36:36 +00:00
  • 27b5f2fcb4 fix for older distros Ondřej Súkup 2020-08-24 18:28:35 +00:00
  • 94f967e524 - update to 6.0.1 - drop tidy-up-embeddedfile.patch * new major release, please check: https://docs.pytest.org/en/stable/changelog.html for all changes Ondřej Súkup 2020-08-24 18:07:07 +00:00
  • 5745d0e8aa Accepting request 824226 from devel:languages:python:pytest Dominique Leuenberger 2020-08-06 15:31:35 +00:00
  • 781e431d18 Fix a typo. Matej Cepl 2020-08-03 21:51:36 +00:00
  • 28b9c7d60b - nose is actually not required: the test suite happily skips over tests which require it. Matej Cepl 2020-08-03 21:05:07 +00:00
  • bc1663e9a9 Accepting request 813080 from devel:languages:python:pytest Dominique Leuenberger 2020-06-11 08:01:16 +00:00
  • bae42fbd69 Update the testcase to pass Steve Kowalik 2020-06-10 00:31:48 +00:00
  • e70098903d Correct exception raised in one testcase Steve Kowalik 2020-06-09 10:51:28 +00:00
  • 83b0a6b3e6 - Rebase and re-add tidy-up-embeddedfile.patch, it was only partially merged upstream. Steve Kowalik 2020-06-09 07:48:24 +00:00
  • 2054858c86 - update to 5.4.3 * Paths appearing in error messages are now correct in case the current working directory has changed since the start of the session. * Support deleting paths longer than 260 characters on windows created inside tmpdir. * Prevent pytest from printing ConftestImportFailure traceback to stdout. * Prevent hiding the underlying exception when ConfTestImportFailure is raised. * Fix regression where running with --pdb would call the tearDown methods of unittest.TestCase subclasses for skipped tests. Ondřej Súkup 2020-06-05 09:05:35 +00:00
  • e5cc71706c Accepting request 802880 from devel:languages:python:pytest Yuchen Lin 2020-05-28 07:04:51 +00:00
  • 6f5d36c6cb - Update to 5.4.2 * Fix crash with captured output when using the capsysbinary fixture. * Ensure a unittest.IsolatedAsyncioTestCase is actually awaited. * Fix TerminalRepr instances to be hashable again. * Fix regression where functions registered with TestCase.addCleanup were not being called on test failures. * Allow users to still set the deprecated TerminalReporter.writer attribute. * Revert “tmpdir: clean up indirection via config for factories * Fixed regression: asyncbase.TestCase tests are executed correctly again * Fix File.from_constructor so it forwards extra keyword arguments to the constructor. * Classes with broken __getattribute__ methods are displayed correctly during failures. * Fix _is_setup_py for files encoded differently than locale. Ondřej Súkup 2020-05-12 08:51:56 +00:00
  • 8e7c7e2185 - Update to 5.4.1: * #6909: Revert the change introduced by #6330, which required all arguments to @pytest.mark.parametrize to be explicitly defined in the function signature. * #6910: Fix crash when plugins return an unknown stats while using the --reportlog option. * #6316: Matching of -k EXPRESSION to test names is now case-insensitive. * #6443: Plugins specified with -p are now loaded after internal plugins * #6637: Removed the long-deprecated pytest_itemstart hook. * #6673: Reversed / fix meaning of “+/-” in error diffs. “-” means that sth. expected is missing in the result and “+” means that there are unexpected extras in the result. - Remove merged patch tidy-up-embeddedfile.patch Tomáš Chvátal 2020-04-27 10:52:01 +00:00
  • 318ee1b071 Accepting request 786286 from devel:languages:python:pytest Dominique Leuenberger 2020-04-19 19:42:03 +00:00
  • 01cf4317b6 Add missing import to the patch Steve Kowalik 2020-03-19 02:11:00 +00:00
  • 623732992d - Add patch tidy-up-embeddedfile.patch based on an upstream PR. Can be dropped when updating. Steve Kowalik 2020-03-18 07:47:14 +00:00
  • c33a3cafa0 Accepting request 776261 from devel:languages:python:pytest Dominique Leuenberger 2020-02-24 14:49:49 +00:00
  • 1e1e42c326 - Update to 5.3.5 * Captured output during teardown is shown with -rP * Fix a pytest-xdist crash when dealing with exceptions raised in subprocesses created by the multiprocessing module. * FixtureDef objects now properly register their finalizers with autouse and parameterized fixtures that execute before them in the fixture stack so they are torn down at the right times, and in the right order. * Fix parsing of outcomes containing multiple errors with testdir results Ondřej Súkup 2020-02-19 09:59:41 +00:00
  • 64c6b0565e Accepting request 764286 from devel:languages:python:pytest Dominique Leuenberger 2020-01-16 17:15:26 +00:00
  • ce7db5aae3 - Fix typo importlib_metadata -> importlib-metadata Tomáš Chvátal 2020-01-14 12:33:04 +00:00
  • 6b44b04739 - Update to 5.3.2: * junitxml: Logs for failed test are now passed to junit report in case the test fails during call phase. * supporting files in the .pytest_cache directory are kept with --cache-clear, which only clears cached values now. * Fix assertion rewriting for egg-based distributions and editable installs (pip install --editable). * Improve check for misspelling of pytest.mark.parametrize. * Handle exit.Exception raised in notify_exception (via pytest_internalerror), e.g. when quitting pdb from post mortem. * default value of junit_family option will change to xunit2 in pytest 6.0, given that this is the version supported by default in modern tools that manipulate this type of file. * In order to smooth the transition, pytest will issue a warning in case the --junitxml option is given in the command line but junit_family is not explicitly configured in pytest.ini. Tomáš Chvátal 2020-01-06 13:33:58 +00:00
  • 1a8590e951 Accepting request 749196 from devel:languages:python:pytest Dominique Leuenberger 2019-11-22 09:25:38 +00:00
  • 17349c8eef - Update to 5.2.4: * #6099: Fix --trace when used with parametrized functions. * #6183: Using request as a parameter name in @pytest.mark.parametrize now produces a more user-friendly error. * #6194: Fix incorrect discovery of non-test __init__.py files. Tomáš Chvátal 2019-11-18 08:23:25 +00:00
  • 5cc202ac30 - Update to 5.2.2: * #5206: Fix --nf to not forget about known nodeids with partial test selection. * #5906: Fix crash with KeyboardInterrupt during --setup-show. * #5946: Fixed issue when parametrizing fixtures with numpy arrays (and possibly other sequence-like types). * #6044: Properly ignore FileNotFoundError exceptions when trying to remove old temporary directories, for instance when multiple processes try to remove the same directory (common with pytest-xdist for example). Tomáš Chvátal 2019-11-05 11:23:30 +00:00
  • 5f3a377a2e Accepting request 736696 from devel:languages:python:pytest Dominique Leuenberger 2019-11-04 16:05:06 +00:00
  • 18f37b7fca - Update to 5.2.1: * #5902: Fix warnings about deprecated cmp attribute in attrs>=19.2. * #1682: Passing arguments to pytest.fixture() as positional arguments is deprecated - pass them as a keyword argument instead. * #1682: The scope parameter of @pytest.fixture can now be a callable that receives the fixture name and the config object as keyword-only parameters. See the docs for more information. * #5764: New behavior of the --pastebin option: failures to connect to the pastebin server are reported, without failing the pytest run Tomáš Chvátal 2019-10-09 14:21:11 +00:00
  • 6bd74c8d1f Accepting request 732742 from devel:languages:python:pytest Dominique Leuenberger 2019-09-30 13:50:03 +00:00
  • 1533b4f683 - Update to 5.1.3: * #5807: Fix pypy3.6 (nightly) on windows. * #5811: Handle --fulltrace correctly with pytest.raises. * #5819: Windows: Fix regression with conftest whose qualified name contains uppercase characters Tomáš Chvátal 2019-09-23 13:19:22 +00:00
  • 70bb8e37a6 Accepting request 729497 from devel:languages:python:pytest Dominique Leuenberger 2019-09-23 10:03:11 +00:00
  • 842276e85a - Update to 5.1.2: * #2270: Fixed self reference in function-scoped fixtures defined plugin classes: previously self would be a reference to a test class, not the plugin class. * #570: Fixed long standing issue where fixture scope was not respected when indirect fixtures were used during parametrization. * #5782: Fix decoding error when printing an error response from --pastebin. * #5786: Chained exceptions in test and collection reports are now correctly serialized, allowing plugins like pytest-xdist to display them properly. Tomáš Chvátal 2019-09-09 14:58:46 +00:00
  • 0e986ad0cc - Update to 5.1.1 * Removed: + Request.getfuncargvalue: use Request.getfixturevalue instead. + pytest.raises and pytest.warns no longer support strings as the second argument. + message parameter of pytest.raises. + pytest.raises, pytest.warns and ParameterSet.param now use native keyword-only syntax. This might change the exception message from previous versions, but they still raise TypeError on unknown keyword arguments as before. + pytest.config global variable. + tmpdir_factory.ensuretemp method. + pytest_logwarning hook. + RemovedInPytest4Warning warning type. + request is now a reserved name for fixtures. + Removed unused support code for unittest2. + pytest.fail, pytest.xfail and pytest.skip no longer support bytes for the message argument. * New Config.invocation_args attribute containing the unchanged arguments passed to pytest.main(). * New NUMBER option for doctests to ignore irrelevant differences in floating-point numbers * JUnit XML now includes a timestamp and hostname in the testsuite tag. * Fix RuntimeError/StopIteration when trying to collect package with “__init__.py” only. * Warnings issued during pytest_configure are explicitly not treated as errors, even if configured as such, because it otherwise completely breaks pytest. * The XML file produced by --junitxml now correctly contain a <testsuites> root element. * Fixed using multiple short options together in the command-line (for example -vs) in Python 3.8+. * Fix issue where tmp_path and tmpdir would not remove directories containing files marked as read-only, which could lead to pytest crashing when executed a second time with the --basetemp option. * Replace importlib_metadata backport with importlib.metadata from the standard library on Python 3.8+. * Improve type checking for some exception-raising functions (pytest.xfail, Ondřej Súkup 2019-08-23 13:06:12 +00:00
  • 77051db021 Accepting request 717009 from devel:languages:python:pytest Dominique Leuenberger 2019-07-30 11:01:52 +00:00
  • 3f5e1e6a5d - Add setuptools requires as we still use entrypoints Tomáš Chvátal 2019-07-19 10:16:36 +00:00
  • 43c5404dad OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=37 Tomáš Chvátal 2019-07-09 13:19:06 +00:00
  • c632affc8b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=36 Tomáš Chvátal 2019-07-09 11:33:21 +00:00
  • 98447d46ee - Python-pytest4 contains pytest4; python-pytest3 contains pytest3 the main package from now on will be tracking upstream releases - Update to 5.0.1: * Major update; from now on supporting only python3+ - Remove merged patches: * fix_test_raises_exception_looks_iterable.patch * importlib-metadata.patch * new-pluggy.patch * sphinx2.0.patch Tomáš Chvátal 2019-07-09 11:32:41 +00:00
  • 6c5aa8c66f Accepting request 709052 from devel:languages:python:pytest Dominique Leuenberger 2019-06-18 12:49:11 +00:00
  • c4739b14ee OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=33 Tomáš Chvátal 2019-06-11 07:04:56 +00:00
  • 31a8f67e11 - Add missing quotes to the test call Tomáš Chvátal 2019-06-11 07:02:38 +00:00
  • ba91308a17 - Add patch to fix build with new sphinx: * sphinx2.0.patch - Add patch to fix build with new pluggy that uses importlib-metadata: * importlib-metadata.patch Tomáš Chvátal 2019-06-07 11:42:48 +00:00
  • 711d76bb2d Accepting request 679255 from devel:languages:python:pytest Dominique Leuenberger 2019-02-26 21:16:26 +00:00
  • 29246c18c9 - Add patch to build with new pluggy: * new-pluggy.patch Tomáš Chvátal 2019-02-26 13:16:15 +00:00
  • f1fc2e66da - Add patch to build with new pluggy Tomáš Chvátal 2019-02-26 13:11:35 +00:00
  • c7d311597a Accepting request 679247 from devel:languages:python:pytest Tomáš Chvátal 2019-02-26 12:50:00 +00:00
  • 2b7ae8ad11 Accepting request 677297 from home:mimi_vx:branches:devel:languages:python:pytest Tomáš Chvátal 2019-02-19 09:49:08 +00:00
  • 5b47858198 Mess things up, pytest 4.x Tomáš Chvátal 2019-01-31 12:59:02 +00:00
  • 89a000fc82 Accepting request 663296 from devel:languages:python:pytest Dominique Leuenberger 2019-01-15 12:13:15 +00:00
  • 2c2fe721aa Accepting request 662938 from home:mcepl:branches:devel:languages:python:pytest Tomáš Chvátal 2019-01-07 08:53:28 +00:00
  • 5b510a1a59 Accepting request 648996 from devel:languages:python:pytest Dominique Leuenberger 2018-11-26 09:16:07 +00:00
  • c1937857ff Accepting request 648992 from home:mimi_vx:branches:devel:languages:python:pytest Ondřej Súkup 2018-11-14 14:17:43 +00:00
  • 2f666e82e9 Accepting request 646342 from devel:languages:python:pytest Dominique Leuenberger 2018-11-12 08:49:12 +00:00
  • a86ed1728d Accepting request 646340 from home:mimi_vx:branches:devel:languages:python:pytest Ondřej Súkup 2018-11-05 08:42:01 +00:00
  • 461d00aa70 Accepting request 644834 from home:mimi_vx:branches:devel:languages:python:pytest Ondřej Súkup 2018-10-26 11:19:08 +00:00
  • a346df12fc Accepting request 637656 from devel:languages:python:pytest Dominique Leuenberger 2018-09-26 12:53:57 +00:00
  • 1908c4bb42 Accepting request 637650 from home:mimi_vx:branches:devel:languages:python:pytest Ondřej Súkup 2018-09-24 12:55:20 +00:00
  • aab09e1cd9 Accepting request 636145 from home:mimi_vx:branches:devel:languages:python:pytest Ondřej Súkup 2018-09-17 09:46:23 +00:00
  • 93af367238 Accepting request 634803 from home:mcepl:work Ondřej Súkup 2018-09-11 13:42:31 +00:00
  • fa6a8060ac Accepting request 633516 from devel:languages:python:pytest Yuchen Lin 2018-09-10 10:36:11 +00:00
  • 530b79f188 - drop 0001-Use-unittest.mock-if-is-only-aviable.patch - drop 0001-Use-unittest.mock-if-is-only-aviable.patch Ondřej Súkup 2018-09-05 20:55:40 +00:00
  • 3e40b3d352 Accepting request 633031 from home:mimi_vx:branches:devel:languages:python:pytest Ondřej Súkup 2018-09-04 13:50:02 +00:00
  • ca17decc30 Accepting request 630989 from home:mimi_vx:branches:devel:languages:python:pytest Ondřej Súkup 2018-08-22 22:13:21 +00:00
  • 0630dfe3c0 Accepting request 627904 from devel:languages:python:pytest Dominique Leuenberger 2018-08-08 12:45:49 +00:00
  • fa4a23f35b Accepting request 627901 from home:mimi_vx:branches:devel:languages:python:pytest Ondřej Súkup 2018-08-07 14:50:27 +00:00
  • e8313ac3be Accepting request 627079 from home:mimi_vx:branches:devel:languages:python:pytest Ondřej Súkup 2018-08-02 13:12:16 +00:00
  • f32849bcab Accepting request 622959 from devel:languages:python:pytest Dominique Leuenberger 2018-07-17 07:38:13 +00:00
  • 206af1b767 Accepting request 622958 from home:mimi_vx:branches:devel:languages:python:pytest Ondřej Súkup 2018-07-16 00:25:54 +00:00
  • 13b3ba408f Accepting request 618559 from devel:languages:python:pytest Dominique Leuenberger 2018-06-25 09:35:39 +00:00
  • 35068c2d37 Accepting request 602321 from devel:languages:python Dominique Leuenberger 2018-05-06 12:55:08 +00:00
  • be7246d36d Accepting request 593001 from devel:languages:python Dominique Leuenberger 2018-04-02 20:48:47 +00:00
  • a1b7ffd6d0 Accepting request 584625 from devel:languages:python Dominique Leuenberger 2018-03-12 11:01:55 +00:00
  • e0c397d8eb Accepting request 581941 from devel:languages:python Dominique Leuenberger 2018-03-06 09:43:54 +00:00
  • f71322f608 Accepting request 579198 from devel:languages:python Dominique Leuenberger 2018-02-24 15:37:21 +00:00
  • 7aea8b952d Accepting request 575840 from devel:languages:python Dominique Leuenberger 2018-02-15 12:20:39 +00:00
  • adaecf3396 Accepting request 562163 from devel:languages:python Dominique Leuenberger 2018-01-16 08:25:01 +00:00
  • 800e9991a2 Accepting request 556675 from devel:languages:python Dominique Leuenberger 2017-12-15 13:01:40 +00:00
  • 17090bdd9a Accepting request 542013 from devel:languages:python Dominique Leuenberger 2017-11-19 10:05:58 +00:00
  • d658ec082f Accepting request 537603 from devel:languages:python Dominique Leuenberger 2017-11-02 09:24:10 +00:00
  • c83e0c9223 Accepting request 527316 from devel:languages:python Dominique Leuenberger 2017-09-21 10:28:12 +00:00
  • 63c64a5255 Accepting request 483801 from devel:languages:python Dominique Leuenberger 2017-04-19 16:05:53 +00:00
  • cfc0981802 Accepting request 460258 from devel:languages:python Dominique Leuenberger 2017-02-27 17:33:58 +00:00
  • 3216e6dfdd Accepting request 428222 from devel:languages:python Dominique Leuenberger 2016-09-20 11:23:40 +00:00
  • e3989164ed Accepting request 424253 from devel:languages:python Dominique Leuenberger 2016-09-05 19:18:43 +00:00
  • 2fc705bf21 Accepting request 357125 from devel:languages:python Dominique Leuenberger 2016-02-16 08:27:13 +00:00
  • 6f77c06a4a Accepting request 337397 from devel:languages:python Dominique Leuenberger 2015-10-19 20:47:20 +00:00
  • f0f3fc7c4d Accepting request 319403 from devel:languages:python Dominique Leuenberger 2015-08-06 22:20:39 +00:00
  • 55ea99eb6a Accepting request 315284 from devel:languages:python Stephan Kulow 2015-07-16 15:13:54 +00:00
  • 04bc457b90 Accepting request 308505 from devel:languages:python Dominique Leuenberger 2015-05-25 21:05:14 +00:00
  • da98f5ec86 Accepting request 261690 from devel:languages:python Dominique Leuenberger 2014-11-15 10:41:01 +00:00
  • 852d5e04ce Accepting request 254343 from devel:languages:python Stephan Kulow 2014-10-09 10:52:02 +00:00
  • 63864fe7b7 Accepting request 242963 from devel:languages:python Stephan Kulow 2014-07-31 08:04:04 +00:00
  • 487959f8f1 Accepting request 237622 from devel:languages:python Stephan Kulow 2014-06-19 11:08:39 +00:00
  • 779112c8f0 Accepting request 225731 from devel:languages:python Stephan Kulow 2014-03-18 12:38:18 +00:00
  • bc6c9be058 Accepting request 220367 from devel:languages:python Stephan Kulow 2014-01-30 16:44:56 +00:00
  • 04c38081af Accepting request 212740 from devel:languages:python Stephan Kulow 2014-01-07 15:27:10 +00:00
  • e0217a57be Accepting request 200749 from devel:languages:python Stephan Kulow 2013-09-27 16:02:27 +00:00