Skip to Content
CrabXL

Compatibility

Results of the openpyxl 3.1.5 test suite run against CrabXL.

CrabXL runs the test suite of openpyxl 3.1.5 without changes. Each openpyxl module that the tests use resolves to the matching crabxl_openpyxl module.

Summary

  • 2,115 tests pass. This is 99.8% of the tests of the public API.
  • 4 tests fail because CrabXL is different on purpose. The next section lists them.
  • 325 tests use private parts of openpyxl, for example the _reader and _writer classes or the _style attribute. CrabXL does this work in Rust, so these tests do not apply.
  • 28 tests are skipped or expected to fail in openpyxl itself.

Deliberate differences

  • CrabXL keeps the source names of VBA, external link and comment parts. openpyxl renames them.
  • CrabXL keeps an unchanged calculation chain. openpyxl removes it.
  • CrabXL writes the elements of a projected pie chart in the order that the file format specifies, because Excel requires it.

Results by package

openpyxl packagePassPrivate APIDifferent on purposeSkipped
(top level)521020
cell624403
chart189010
chartsheet21400
comments15100
compat11003
descriptors150000
drawing1161704
formatting39000
formula315000
packaging72200
pivot101302
reader31600
styles213500
utils272007
workbook1321911
worksheet34720300
writer0100
xml5008
Total2,115325428

To run the suite, see tools/run_openpyxl_suite.py in the repository.