Skip to content

Commit

Permalink
Skip PyPy tests due to heatshrink2's Cython usage
Browse files Browse the repository at this point in the history
  • Loading branch information
oblitum committed Apr 23, 2021
1 parent 6b13a4a commit ed6d780
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions miio/tests/test_chuangmi_ir.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import base64
import json
import os
import platform
from unittest import TestCase

import pytest
Expand All @@ -10,6 +11,11 @@

from .dummies import DummyDevice

pytestmark = pytest.mark.skipif(
platform.python_implementation() == "PyPy",
reason="heatshrink2 does not support pypy",
)

with open(os.path.join(os.path.dirname(__file__), "test_chuangmi_ir.json")) as inp:
test_data = json.load(inp)

Expand Down

0 comments on commit ed6d780

Please sign in to comment.