Files
jedi/test
Peter Law 340dedd021 Use an explicit mapping for locals in this test
In Python 3.13 the `locals` function now returns a fresh mapping
each time it's called (when called in a function). We thus need
to store a reference to the mapping being used, rather than
re-fetching it each time.

Since we don't actually need to modify the locals within the scope
of the test function itself, it suffices to use our own mapping
here rather than the result of calling `locals`, which fully
isolates this test from the nature of that function.

Fixes https://github.com/davidhalter/jedi/issues/2002
2024-07-02 21:37:34 +01:00
..
2021-01-02 12:14:28 +01:00
2021-01-01 03:18:49 +01:00
2012-04-12 15:47:33 +02:00
2021-01-14 01:35:18 +01:00
2020-12-26 04:16:32 +01:00
2024-06-30 19:05:38 +01:00
2020-07-02 03:34:44 +02:00