Skip to content

Commit

Permalink
tries fixing platform check
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Sep 20, 2023
1 parent 22d2012 commit d1328e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_issue304.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import pandas as pd
from selenium.webdriver import ActionChains
from selenium.webdriver.common.by import By
from sys import platform
import platform
import justpy as jp
from tests.base_selenium_test import BaseSeleniumTest
from selenium.webdriver.support import expected_conditions as EC
Expand All @@ -25,13 +25,13 @@ async def asyncTearDown(self):
self.browser.close()
await self.server.stop()

@unittest.skipIf(platform == "darwin","unreliable on MacOS")
@unittest.skipIf(platform.system() == "darwin","unreliable on MacOS")
async def test_issue_304(self):
"""
test when the issue occurs that input and input display differ
"""
print(f"issue 304 test on {platform}")
if platform=="darwin":
print(f"issue 304 test on {platform.system()}")
if platform.system()=="darwin":
return
await self.server.start(self.issue_page)
url = self.server.get_url("/")
Expand Down

0 comments on commit d1328e1

Please sign in to comment.