Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
12
venv/Lib/site-packages/nbconvert/utils/tests/test_version.py
Normal file
12
venv/Lib/site-packages/nbconvert/utils/tests/test_version.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
from ..version import check_version
|
||||
|
||||
def test_check_version():
|
||||
"""Test the behaviour of check_versionself.
|
||||
|
||||
This is mostly used to make sure the pandoc version is appropriate for the library.
|
||||
"""
|
||||
|
||||
assert check_version('1.19.2.4', '1.12.1')
|
||||
assert check_version('2.2.3.2', '1.12.1')
|
||||
assert check_version('1.19.2.4', '1.12.1', max_v='2.0')
|
||||
assert not check_version('2.2.3.2', '1.12.1', max_v='2.0')
|
Loading…
Add table
Add a link
Reference in a new issue