mvnmgrx / kiutils

Simple and SCM-friendly KiCad file parser based on Python dataclasses for KiCad 6.0 and up.
GNU General Public License v3.0
81 stars 27 forks source link

Test report does not generate expected/produced output for failing tests in Python 3.11 #43

Closed mvnmgrx closed 1 year ago

mvnmgrx commented 1 year ago

The HTML test report does not generate the expected/produced output when ran in a Python 3.11 environment.

To reproduce:

  1. Use Python 3.11
  2. Make at least one test fail
  3. Run the unittests with test report generation: python3 test.py

Expected behavior: The test report shows both the expected output as well as the produced output.

Actual behavior: grafik

This works just fine in older versions of Python (3.10 used here): grafik