There was an error while loading. Please reload this page.
2 parents f06ec30 + bc170cb commit 2520bcbCopy full SHA for 2520bcb
1 file changed
test/test_dataflow_sdg.py
@@ -9,6 +9,8 @@
9
transitive flow; the module-global write/read pair is stitched across
10
files; closure captures bind at the definition site.
11
"""
12
+import copy
13
+
14
import pytest
15
16
from pathlib import Path
@@ -210,7 +212,7 @@ def test_sdg_survives_when_jedi_side_channel_is_dark(fixture_app):
210
212
site's callee_signature to simulate the side channel going fully dark --
211
213
the deterministic body-callee path must carry the graph alone.
214
- app = fixture_app.model_copy(deep=True)
215
+ app = copy.deepcopy(fixture_app) # version-neutral; .model_copy is pydantic v2-only
216
for c in _callable_index(app).values():
217
for cs in c.call_sites or []:
218
cs.callee_signature = None
0 commit comments