Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 23, 2023
1 parent 1ab1392 commit 667fddb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/tests/test_pyodide.py
Original file line number Diff line number Diff line change
Expand Up @@ -1686,12 +1686,14 @@ def f2():
expected.splitlines()[2:]
)


@run_in_pyodide
def test_hiwire_invalid_ref(selenium):
import pytest

import pyodide_js
from pyodide.ffi import JsException
from pyodide.code import run_js
import pytest
from pyodide.ffi import JsException

_hiwire_get = pyodide_js._module._hiwire_get
_hiwire_incref = pyodide_js._module._hiwire_incref
Expand Down Expand Up @@ -1735,4 +1737,3 @@ def test_hiwire_invalid_ref(selenium):
_hiwire_decref(77)
assert _api.fail_test
_api.fail_test = False

0 comments on commit 667fddb

Please sign in to comment.