mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Upgrading Pyre requires updating test fixtures with any upstream changes to Pyre's query results for the `simple_class.py` fixture. This adds a new `scripts/` directory to the repo, with a script to regenerate test fixtures. The script regenerates the cache data fixture, and updates the `TypeInferenceProvider` tests to use `assertDictEqual` and helpful error messages for better behavior in future mismatches. This also includes a slight bump to Pyre 0.9.10 to fix install issues on Apple Silicon M1 Macs, and regenerated fixtures using the script above. |
||
|---|---|---|
| .. | ||
| pyre | ||
| __init__.py | ||
| test_add_slots.py | ||
| test_batched_visitor.py | ||
| test_deep_clone.py | ||
| test_deep_replace.py | ||
| test_e2e.py | ||
| test_exceptions.py | ||
| test_fuzz.py | ||
| test_pyre_integration.py | ||
| test_tabs.py | ||
| test_tool.py | ||
| test_type_enforce.py | ||
| test_visitor.py | ||