Skip to content
  • Anton Shestakov's avatar
    tests: replace check-compat-strings.sh with a Python script · 73cd416a1653
    Anton Shestakov authored
    Previously it was a bash script (using BASH_REMATCH, for example) that was used
    in tests, and we want our tests as portable as possible, so mostly that is the
    reason for this rewrite.
    
    It's also easier to add a cache to the Python version, which reduces the run
    time: from ~10s to ~5.5s.
    
    Another change worth mentioning is filtering the list of files to be only .py
    files. We don't currently have compat comments in any other files.
    73cd416a1653