Skip to content

Commit 7ab720f

Browse files
hardcode python version in snapshot name
1 parent c1f0ede commit 7ab720f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dash/testing/browser.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,10 @@ def percy_snapshot(
159159
"""
160160
if widths is None:
161161
widths = [1280]
162-
snapshot_name = f"{name} - py{sys.version_info.major}.{sys.version_info.minor}"
162+
163+
# py3.9 hardcoded here to keep snapshot names the same accorss
164+
# future python upgrades
165+
snapshot_name = f"{name} - py3.9"
163166
logger.info("taking snapshot name => %s", snapshot_name)
164167
try:
165168
if wait_for_callbacks:

0 commit comments

Comments
 (0)