commit | 3fb7cbf461c4194d387c928598ff5ab64c80e4bd | [log] [tgz] |
---|---|---|
author | Uday Bondhugula <uday@polymagelabs.com> | Thu Nov 25 08:56:19 2021 +0530 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 24 20:26:07 2021 -0800 |
tree | b92e5c916237356e34010cf6e183c0d420a150d3 | |
parent | 0f5a8c4409d5a89bcf6393fd182f1a6d16140d49 [diff] |
[MLIR] Rename test/python/dialects/math.py -> math_dialect.py Rename test/python/dialects/math.py -> math_dialect.py to avoid a collision with a Python standard package of the same name. These test scripts are run by path and are not part of a package. Python apparently implicitly adds the containing directory to its PYTHONPATH. As such, test scripts with common names run the risk of conflicting with global names and resolution of an import for the latter happens to the former. Differential Revision: https://reviews.llvm.org/D114568 GitOrigin-RevId: 25d173499effd978435e433196003f964293f8d9
See https://mlir.llvm.org/ for more information.