Skip to content

Commit 2d39c8d

Browse files
committed
remove unnecessary logging
1 parent 34312bb commit 2d39c8d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/theme_and_toolbar/test_customize_themes_and_redirect.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import logging
2-
31
import pytest
42
from selenium.webdriver import Firefox
53

@@ -29,7 +27,6 @@ def colors_match(a, b):
2927
b_colors = [float(n) for n in b_colorstring.split(",")]
3028
for i in range(len(a_colors)):
3129
diff = abs((a_colors[i] / b_colors[i]) - 1.0)
32-
logging.warning(f"a: {a_colors[i]}, b: {b_colors[i]}, diff: {diff}")
3330
if diff > tolerance:
3431
return False
3532
return True
@@ -88,7 +85,6 @@ def test_alpenglow_theme(driver: Firefox):
8885
nav, "firefox-alpenglow_mozilla_org-heading", "", perform_assert=False
8986
)
9087

91-
logging.warning(f"alpenglow: {current_bg}")
9288
# assert current_bg == alpenglow_map["light"] or current_bg == alpenglow_map["dark"]
9389
assert colors_match(current_bg, alpenglow_map["light"]) or colors_match(
9490
current_bg, alpenglow_map["dark"]

0 commit comments

Comments
 (0)