You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run python3 -m unittest (after installing dependencies listed in requirements.txt), I encounter the following errors:
======================================================================
ERROR: test.test_block_token (unittest.loader._FailedTest.test.test_block_token)
----------------------------------------------------------------------
ImportError: Failed to import test module: test.test_block_token
Traceback (most recent call last):
File "/usr/lib64/python3.12/unittest/loader.py", line 394, in _find_test_path
module = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/unittest/loader.py", line 337, in _get_module_from_name
__import__(name)
File "/usr/src/RPM/BUILD/python3-module-mistletoe-1.4.0/test/test_block_token.py", line 4, in <module>
from parameterized import parameterized
ModuleNotFoundError: No module named 'parameterized'
======================================================================
ERROR: test.test_contrib.test_pygments_renderer (unittest.loader._FailedTest.test.test_contrib.test_pygments_renderer)
----------------------------------------------------------------------
ImportError: Failed to import test module: test.test_contrib.test_pygments_renderer
Traceback (most recent call last):
File "/usr/lib64/python3.12/unittest/loader.py", line 394, in _find_test_path
module = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/unittest/loader.py", line 337, in _get_module_from_name
__import__(name)
File "/usr/src/RPM/BUILD/python3-module-mistletoe-1.4.0/test/test_contrib/test_pygments_renderer.py", line 5, in <module>
from parameterized import parameterized
ModuleNotFoundError: No module named 'parameterized'
======================================================================
ERROR: test.test_html_renderer (unittest.loader._FailedTest.test.test_html_renderer)
----------------------------------------------------------------------
ImportError: Failed to import test module: test.test_html_renderer
Traceback (most recent call last):
File "/usr/lib64/python3.12/unittest/loader.py", line 394, in _find_test_path
module = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/unittest/loader.py", line 337, in _get_module_from_name
__import__(name)
File "/usr/src/RPM/BUILD/python3-module-mistletoe-1.4.0/test/test_html_renderer.py", line 4, in <module>
from parameterized import parameterized
ModuleNotFoundError: No module named 'parameterized'
======================================================================
ERROR: test.test_latex_renderer (unittest.loader._FailedTest.test.test_latex_renderer)
----------------------------------------------------------------------
ImportError: Failed to import test module: test.test_latex_renderer
Traceback (most recent call last):
File "/usr/lib64/python3.12/unittest/loader.py", line 394, in _find_test_path
module = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/unittest/loader.py", line 337, in _get_module_from_name
__import__(name)
File "/usr/src/RPM/BUILD/python3-module-mistletoe-1.4.0/test/test_latex_renderer.py", line 2, in <module>
from parameterized import parameterized
ModuleNotFoundError: No module named 'parameterized'
----------------------------------------------------------------------
Ran 199 tests in 0.035s
FAILED (errors=4)
I think that is a good idea to add parameterized to requirements.txt (or to test-requirements.txt).
The text was updated successfully, but these errors were encountered:
Define all the needed requirements and the
test command, so that running `tox` runs the
unit tests and runs them successfully.
Also simplify the CI workflow by using both
requirements files - exactly how tox does it.
Fixes#220 and #221.
Define all the needed requirements and the
test command, so that running `tox` runs the
unit tests and runs them successfully.
Also simplify the CI workflow by using both
requirements files - exactly how tox does it.
Fixes#220 and #221.
When I run
python3 -m unittest
(after installing dependencies listed inrequirements.txt
), I encounter the following errors:I think that is a good idea to add
parameterized
torequirements.txt
(or totest-requirements.txt
).The text was updated successfully, but these errors were encountered: