Skip to content

Commit

Permalink
Re-enable doctesting of C extension modules
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Mar 31, 2024
1 parent 9f7a473 commit 2e46af6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions lib/bx/intervals/intersection.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,6 @@ cdef class Interval:
>>> f1 = Interval(23, 36)
>>> f2 = Interval(34, 48, value=OrderedDict([('chr', 12), ('anno', 'transposon')]))
>>> f2
Interval(34, 48, value=OrderedDict([('chr', 12), ('anno', 'transposon')]))
"""
cdef public int start, end
Expand Down
3 changes: 1 addition & 2 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[pytest]
#addopts = --doctest-cython --doctest-modules # https://github.com/lgpage/pytest-cython/issues/58
addopts = --doctest-modules
addopts = --doctest-cython --doctest-modules
python_files = *_tests.py
testpaths = lib script_tests/
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ deps =
test: Cython
test: numpy
test: pytest
test: pytest-cython
test: pytest-cython >= 0.2.2 # https://github.com/lgpage/pytest-cython/issues/58
test: python-lzo >= 1.14 # Python 3.10 support
lint: black
lint: flake8
Expand Down

0 comments on commit 2e46af6

Please sign in to comment.