{ "info": { "author": "Ross MacArthur", "author_email": "macarthur.ross@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing" ], "description": "pytest-doctest-import\n=====================\n\n.. image:: https://img.shields.io/pypi/v/pytest-doctest-import.svg?style=flat-square&colorB=4c1\n :target: https://pypi.org/project/pytest-doctest-import/\n :alt: PyPI Version\n\n.. image:: https://img.shields.io/travis/rossmacarthur/pytest-doctest-import.svg?style=flat-square\n :target: https://travis-ci.org/rossmacarthur/pytest-doctest-import\n :alt: Build Status\n\n.. image:: https://img.shields.io/codecov/c/github/rossmacarthur/pytest-doctest-import.svg?style=flat-square\n :target: https://codecov.io/gh/rossmacarthur/pytest-doctest-import\n :alt: Code Coverage\n\nA simple pytest plugin to import names and add them to the doctest namespace.\n\nInstalling\n----------\n\nInstall this package with\n\n::\n\n pip install pytest-doctest-import\n\n\nUsage\n-----\n\nSimply pass the import names to ``--doctest-import`` when instantiating `pytest`.\n\nTo get the equivalent of ``import package.module`` use\n\n::\n\n pytest --doctest-modules --doctest-import \"package.module\"\n\n\nTo get the equivalent of ``from package import *`` use\n\n::\n\n pytest --doctest-modules --doctest-import \"*=3.3.0)", "flake8; extra == 'linting'", "flake8-quotes; extra == 'linting'", "pep8-naming; extra == 'linting'", "pytest-cov; extra == 'testing'" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "summary": "A simple pytest plugin to import names and add them to the doctest namespace.", "version": "0.1.1" }, "last_serial": 4480733, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f8e44ef1e90e7c7125a606576e0efc05", "sha256": "0b840c12c84cd557fe0bd6ea24817f476f7f610209afeae1c7ff34f24c9822e0" }, "downloads": -1, "filename": "pytest_doctest_import-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f8e44ef1e90e7c7125a606576e0efc05", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4354, "upload_time": "2018-11-13T07:10:59", "url": "https://files.pythonhosted.org/packages/70/02/7aff0a4c93fd80499742382346a44d85fe77482226a1f859bde0cc09ef24/pytest_doctest_import-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72c1a02112146db7b523958a61d2f19c", "sha256": "b7f32045ba7c1f09be84d69f1946e61d8e73fa525df834ad091a226fd308ac20" }, "downloads": -1, "filename": "pytest-doctest-import-0.1.0.tar.gz", "has_sig": false, "md5_digest": "72c1a02112146db7b523958a61d2f19c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4156, "upload_time": "2018-11-13T07:11:01", "url": "https://files.pythonhosted.org/packages/58/a3/f671d93f5db3c96ad12483dca8bfc049ed64582340eb372e788cd2106cbb/pytest-doctest-import-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f9960a1605323aa2a67ac9c4818db592", "sha256": "a5868941b1d64ed068486831f6c815871e3f6a58e3a18ffeb428e7534acbd4c6" }, "downloads": -1, "filename": "pytest_doctest_import-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f9960a1605323aa2a67ac9c4818db592", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4347, "upload_time": "2018-11-13T07:42:36", "url": "https://files.pythonhosted.org/packages/54/29/92570ec16b645cd06305b985fe503ad5f941fbae696afcce43d7a11cfeac/pytest_doctest_import-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec2013340def45d2e16fe58a7f923df8", "sha256": "8b9201bdc15abed44f2c64ea2788c7ac745743b2180bfba532df71f6b320e6f4" }, "downloads": -1, "filename": "pytest-doctest-import-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ec2013340def45d2e16fe58a7f923df8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4143, "upload_time": "2018-11-13T07:42:37", "url": "https://files.pythonhosted.org/packages/56/16/262a19c708bdf9ed7776087775f21da7aa8a02167fa6bef5acd30049e06f/pytest-doctest-import-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f9960a1605323aa2a67ac9c4818db592", "sha256": "a5868941b1d64ed068486831f6c815871e3f6a58e3a18ffeb428e7534acbd4c6" }, "downloads": -1, "filename": "pytest_doctest_import-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f9960a1605323aa2a67ac9c4818db592", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4347, "upload_time": "2018-11-13T07:42:36", "url": "https://files.pythonhosted.org/packages/54/29/92570ec16b645cd06305b985fe503ad5f941fbae696afcce43d7a11cfeac/pytest_doctest_import-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec2013340def45d2e16fe58a7f923df8", "sha256": "8b9201bdc15abed44f2c64ea2788c7ac745743b2180bfba532df71f6b320e6f4" }, "downloads": -1, "filename": "pytest-doctest-import-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ec2013340def45d2e16fe58a7f923df8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4143, "upload_time": "2018-11-13T07:42:37", "url": "https://files.pythonhosted.org/packages/56/16/262a19c708bdf9ed7776087775f21da7aa8a02167fa6bef5acd30049e06f/pytest-doctest-import-0.1.1.tar.gz" } ] }