Skip to content

Commit

Permalink
Merge pull request #4547 from plotly/skip-version-test
Browse files Browse the repository at this point in the history
skip version test
  • Loading branch information
archmoj authored Mar 22, 2024
2 parents 246b520 + cf0c61f commit 586aeeb
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,19 +314,6 @@ def get_html():

self.assertIn('"bogus": 42', html)

@pytest.mark.nodev
def test_plotlyjs_version(self):
path = os.path.join(
packages_root, "javascript", "jupyterlab-plotly", "package.json"
)
with open(path, "rt") as f:
package_json = json.load(f)
expected_version = package_json["dependencies"]["plotly.js"]
if expected_version[0] == "^":
expected_version = expected_version[1:]

self.assertEqual(expected_version, plotly.offline.get_plotlyjs_version())

def test_include_mathjax_false_html(self):
html = self._read_html(
plotly.offline.plot(
Expand Down

0 comments on commit 586aeeb

Please sign in to comment.