Skip to content

Commit b1a72af

Browse files
authored
Merge pull request #2747 from graingert-coef/patch-1
remove misleading py3.9 from snapshot names
2 parents dbcbeae + 3eadbd1 commit b1a72af

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

dash/testing/browser.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,7 @@ def percy_snapshot(
160160
if widths is None:
161161
widths = [1280]
162162

163-
# py3.9 hardcoded here to keep snapshot names the same accorss
164-
# future python upgrades
165-
snapshot_name = f"{name} - py3.9"
166-
logger.info("taking snapshot name => %s", snapshot_name)
163+
logger.info("taking snapshot name => %s", name)
167164
try:
168165
if wait_for_callbacks:
169166
# the extra one second sleep adds safe margin in the context
@@ -199,7 +196,7 @@ def percy_snapshot(
199196
)
200197

201198
try:
202-
self.percy_runner.snapshot(name=snapshot_name, widths=widths)
199+
self.percy_runner.snapshot(name=name, widths=widths)
203200
except requests.HTTPError as err:
204201
# Ignore retries.
205202
if err.request.status_code != 400:

0 commit comments

Comments
 (0)