Skip to content

Commit 0509ee4

Browse files
committed
Bump Cython version
1 parent ae2029f commit 0509ee4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ docs = [
5858
requires = [
5959
"setuptools>=60",
6060
"wheel",
61-
"Cython~=3.0",
61+
"Cython~=3.1",
6262
]
6363
build-backend = "setuptools.build_meta"
6464

tests/test_base.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,8 @@ async def main():
781781
782782
if __name__ == "__main__":
783783
if sys._is_gil_enabled():
784-
sys.exit(2) # Skip test if not running with GIL disabled
784+
print("Not running with GIL disabled")
785+
sys.exit(2)
785786
786787
import {impl}
787788
@@ -794,9 +795,9 @@ async def main():
794795
text=True,
795796
)
796797
if result.returncode == 2:
797-
raise unittest.SkipTest(result.stdout)
798+
raise unittest.SkipTest(result.stdout.strip())
798799
elif result.returncode != 0:
799-
self.fail(result.stdout)
800+
self.fail(result.stdout.strip())
800801

801802

802803
class TestBaseUV(_TestBase, UVTestCase):

0 commit comments

Comments
 (0)