{ "info": { "author": "Florian Schulze", "author_email": "florian.schulze@gmx.net", "bugtrack_url": null, "classifiers": [ "Framework :: Pytest", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "pytest-warnings\n===============\n\npy.test plugin to list Python warnings in pytest report.\n\nIntegrated in pytest >= 3.1.0.\n\n\nUsage\n-----\n\ninstall via::\n\n pip install pytest-warnings\n\nif you then type::\n\n py.test -rw\n\nany warnings in your code are reported in the pytest report.\nYou can use the ``-W`` option or ``--pythonwarnings`` exactly like for the ``python`` executable.\n\nThe following example ignores all warnings, but prints DeprecationWarnings once per occurrence::\n\n py.test -rw -W ignore -W once::DeprecationWarning\n\nYou can also turn warnings into actual errors::\n\n py.test -W error\n\n\nAdvance usage\n=============\n\nYou can get more fine grained filtering of warnings by using the\n``filterwarnings`` configuration option.\n\n``filterwarnings`` works like the python's ``-W`` flag except it will not\nescape special characters.\n\nExample\n-------\n\n.. code::\n\n # pytest.ini\n [pytest]\n filterwarnings= default\n ignore:.*is deprecated.*:Warning\n error::DeprecationWarning:importlib.*\n\n\nChanges\n=======\n\n0.3.0 - 2017-05-21\n------------------\n\n- Add Travis CI config.\n [dwaynebailey (Dwayne Bailey)]\n\n- Make wheels universal.\n [aragilar (James Tocknell)]\n\n- Since this plugin is integrated in pytest 3.1.0, we show a deprecation\n warning and advice to uninstall the plugin.\n [nicoddemus (Bruno Oliveira), fschulze]\n\n\n0.2.0 - 2016-10-24\n------------------\n\n- Add ``filterwarnings`` option.\n [Carreau (Matthias Bussonnier)]\n\n\n0.1.0 - 2016-06-27\n------------------\n\n- Initial release.\n [fschulze (Florian Schulze)]", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fschulze/pytest-warnings", "keywords": "", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "pytest-warnings", "package_url": "https://pypi.org/project/pytest-warnings/", "platform": "", "project_url": "https://pypi.org/project/pytest-warnings/", "project_urls": { "Homepage": "https://github.com/fschulze/pytest-warnings" }, "release_url": "https://pypi.org/project/pytest-warnings/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "pytest plugin to list Python warnings in pytest report", "version": "0.3.0" }, "last_serial": 2888981, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1d5ae2a0b6b13ed062b42ccd607af8b1", "sha256": "656efc7102597da55093682bcfa1f3e5d4fe0c721d6d076452c5db992e92ca2f" }, "downloads": -1, "filename": "pytest-warnings-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1d5ae2a0b6b13ed062b42ccd607af8b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3161, "upload_time": "2016-06-27T09:45:25", "url": "https://files.pythonhosted.org/packages/b5/22/a62bee04606889cf7ec5bec620b7fa727aaaf7d17133d622513816179eb1/pytest-warnings-0.1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "ccfa411d7ee20e485f75b56da295c2a8", "sha256": "ebea01fedb0b22b3db302a9bf01c2385e189deaf9ae494991b85d1ac5e02a8da" }, "downloads": -1, "filename": "pytest-warnings-0.1.0.zip", "has_sig": false, "md5_digest": "ccfa411d7ee20e485f75b56da295c2a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6345, "upload_time": "2016-06-27T09:45:21", "url": "https://files.pythonhosted.org/packages/d8/1f/0aa33a4c6ec44fdaf470f0bf4421cc8952799f94e800374f0819be1dbf64/pytest-warnings-0.1.0.zip" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3a97af4665f8d8b330b965728b3b28f8", "sha256": "2fb08958009d9b699359b861a8feb96ffc21994a590728cf7ab1d00bd56dc23d" }, "downloads": -1, "filename": "pytest-warnings-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3a97af4665f8d8b330b965728b3b28f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4495, "upload_time": "2016-10-24T10:10:15", "url": "https://files.pythonhosted.org/packages/6f/b8/42bf3b79d62a19ac6054c3d10ad1227bc6272bac67688fd0f218ea57e78a/pytest-warnings-0.2.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "fba54f2c2b52a7ff0f6534799ddf8c6d", "sha256": "6e68fe23cd5051ded18cf50394e9b8183a39921c58e461254329520c37992179" }, "downloads": -1, "filename": "pytest-warnings-0.2.0.zip", "has_sig": false, "md5_digest": "fba54f2c2b52a7ff0f6534799ddf8c6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8598, "upload_time": "2016-10-24T10:10:12", "url": "https://files.pythonhosted.org/packages/2d/a9/2bd0f0c19f69ff02ef6aff626229b927860a233f55186953f70b557f0309/pytest-warnings-0.2.0.zip" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "727d824a2a4589bd6153b4d8b7492dc6", "sha256": "4ad85faaef3c0e9e44ebdc287557febc82b980da814e87b86ab6b2384a80dda3" }, "downloads": -1, "filename": "pytest-warnings-0.3.0.tar.gz", "has_sig": false, "md5_digest": "727d824a2a4589bd6153b4d8b7492dc6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4913, "upload_time": "2017-05-21T15:08:42", "url": "https://files.pythonhosted.org/packages/49/09/e464b757c7d5b75b369f2b3e24f3295eedb782919448a49e0e072c5102f7/pytest-warnings-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "727d824a2a4589bd6153b4d8b7492dc6", "sha256": "4ad85faaef3c0e9e44ebdc287557febc82b980da814e87b86ab6b2384a80dda3" }, "downloads": -1, "filename": "pytest-warnings-0.3.0.tar.gz", "has_sig": false, "md5_digest": "727d824a2a4589bd6153b4d8b7492dc6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4913, "upload_time": "2017-05-21T15:08:42", "url": "https://files.pythonhosted.org/packages/49/09/e464b757c7d5b75b369f2b3e24f3295eedb782919448a49e0e072c5102f7/pytest-warnings-0.3.0.tar.gz" } ] }