Skip to content

Commit d702ecb

Browse files
kurtmckeemichaelmior
authored andcommitted
Remove test_doctests, which is a no-op
1 parent e4c16eb commit d702ecb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/test_create.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import doctest
21
from collections import namedtuple
32

43
import pytest
54

6-
import jsonpath_ng
75
from jsonpath_ng.ext import parse
86

97
Params = namedtuple('Params', 'string initial_data insert_val target')
@@ -177,9 +175,3 @@ def test_build_doc(string, initial_data, insert_val, target):
177175
jsonpath = parse(string)
178176
result = jsonpath.update_or_create(initial_data, insert_val)
179177
assert result == target
180-
181-
182-
def test_doctests():
183-
results = doctest.testmod(jsonpath_ng)
184-
assert results.failed == 0
185-
assert results.attempted > 0

0 commit comments

Comments
 (0)