jeremiah-c-leary / vhdl-style-guide

Style guide enforcement for VHDL
GNU General Public License v3.0
175 stars 38 forks source link

pytest occasionally reports an issue but does not fail #1157

Open jeremiah-c-leary opened 3 months ago

jeremiah-c-leary commented 3 months ago

When running the following command on master: tox -e test-py38, pytest will randomly report the following problem:

/home/jcleary/projects/vsg-master/.tox/test-py38/lib/python3.8/site-packages/_pytest/terminal.py:876: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
Plugin: 140097136051872, Hook: pytest_terminal_summary
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
  self.config.hook.pytest_terminal_summary(

The tests still runs and passes. At the moment it is a minor annoyance, but it should be resolved.