Skip to content

Commit 446c232

Browse files
committed
Fix tests to iOS
1 parent d6de7f4 commit 446c232

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tests/test_carray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
_instance = None
3030

31-
@pytest.skipif(sys.platform != "darwin", reason="Only for MacOS, as it needs test dylib")
31+
@pytest.mark.skipif(sys.platform != "darwin", reason="Only for MacOS, as it needs test dylib")
3232
class CArrayTest(unittest.TestCase):
3333

3434
def setUp(self):

tests/test_dereference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Car = car = None
99

10-
@pytest.skipif(sys.platform != "darwin", reason="Only for MacOS, as it needs test dylib")
10+
@pytest.mark.skipif(sys.platform != "darwin", reason="Only for MacOS, as it needs test dylib")
1111
class DereferenceTest(unittest.TestCase):
1212

1313
def setUp(self):

tests/test_properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Car = None
88

9-
@pytest.skipif(sys.platform != "darwin", reason="Only for MacOS, as it needs test dylib")
9+
@pytest.mark.skipif(sys.platform != "darwin", reason="Only for MacOS, as it needs test dylib")
1010
class ObjcPropertyTest(unittest.TestCase):
1111

1212
def setUp(self):

tests/test_union.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Car = None
88

9-
@pytest.skipif(sys.platform != "darwin", reason="Only for MacOS, as it needs test dylib")
9+
@pytest.mark.skipif(sys.platform != "darwin", reason="Only for MacOS, as it needs test dylib")
1010
class Union(unittest.TestCase):
1111

1212
def setUp(self):

tests/test_unknown_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Car = car = None
88

9-
@pytest.skipif(sys.platform != "darwin", reason="Only for MacOS, as it needs test dylib")
9+
@pytest.mark.skipif(sys.platform != "darwin", reason="Only for MacOS, as it needs test dylib")
1010
class UnknownTypesTest(unittest.TestCase):
1111

1212
def setUp(self):

0 commit comments

Comments
 (0)