mktestdocs 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,5 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mktestdocs
3
- Version: 0.2.0
4
- Summary: UNKNOWN
5
- License: UNKNOWN
6
- Platform: UNKNOWN
3
+ Version: 0.2.1
7
4
  Provides-Extra: test
8
5
  License-File: LICENSE
9
-
10
- UNKNOWN
11
-
@@ -12,10 +12,12 @@ pip install mktestdocs
12
12
 
13
13
  ## Usage
14
14
 
15
- Let's say that you're using [mkdocs](https://squidfunk.github.io/mkdocs-material/getting-started/) for your documentation. Then you're
16
- writing down markdown to explain how your python packages works. It'd be
17
- great if you could run your unit tests against them. You can use this package
18
- to write unit-tests for that.
15
+ Let's say that you're using [mkdocs](https://squidfunk.github.io/mkdocs-material/getting-started/)
16
+ for your documentation. Then you're writing down markdown to explain how your Python packages work.
17
+ It'd be a shame if a codeblock had an error in it, so it'd be
18
+ great if you could run your unit tests against them.
19
+
20
+ This package allows you to do _just that_. Here's an example:
19
21
 
20
22
  ```python
21
23
  import pathlib
@@ -7,7 +7,7 @@ from mktestdocs.__main__ import (
7
7
  get_codeblock_members,
8
8
  )
9
9
 
10
- __version__ = "0.2.0"
10
+ __version__ = "0.2.1"
11
11
 
12
12
  __all__ = [
13
13
  "__version__",
@@ -1,11 +1,5 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mktestdocs
3
- Version: 0.2.0
4
- Summary: UNKNOWN
5
- License: UNKNOWN
6
- Platform: UNKNOWN
3
+ Version: 0.2.1
7
4
  Provides-Extra: test
8
5
  License-File: LICENSE
9
-
10
- UNKNOWN
11
-
@@ -8,8 +8,6 @@ mktestdocs.egg-info/SOURCES.txt
8
8
  mktestdocs.egg-info/dependency_links.txt
9
9
  mktestdocs.egg-info/requires.txt
10
10
  mktestdocs.egg-info/top_level.txt
11
- tests/__init__.py
12
- tests/conftest.py
13
11
  tests/test_actual_docstrings.py
14
12
  tests/test_class.py
15
13
  tests/test_codeblock.py
@@ -6,7 +6,7 @@ test_packages = ["pytest>=4.0.2"]
6
6
  setup(
7
7
  name="mktestdocs",
8
8
  version=__version__,
9
- packages=find_packages(exclude=["notebooks"]),
9
+ packages=find_packages(exclude=["tests"]),
10
10
  install_requires=[],
11
11
  extras_require={
12
12
  "test": test_packages,
File without changes
@@ -1,12 +0,0 @@
1
- from copy import copy
2
-
3
- import pytest
4
-
5
- import mktestdocs
6
-
7
-
8
- @pytest.fixture
9
- def temp_executors():
10
- old_executors = copy(mktestdocs.__main__._executors)
11
- yield
12
- mktestdocs.__main__._executors = old_executors
File without changes
File without changes