Skip to content

Commit 07bd0d0

Browse files
authored
Merge pull request #210 from bluescarni/pr/py313_fix
Fix unit test for Python 3.13
2 parents d47a305 + e13d174 commit 07bd0d0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

heyoka/_test_real128.py

-4
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,6 @@ def test_scalar(self):
119119

120120
with self.assertRaises(TypeError) as cm:
121121
real128(prec=7)
122-
self.assertTrue(
123-
"'prec' is an invalid keyword argument for this function"
124-
in str(cm.exception)
125-
)
126122

127123
# Conversion to bool.
128124
self.assertTrue(bool(real128(1)))

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ sgp4 = ["skyfield"]
4141
wheel.packages = []
4242
# Enable IPO.
4343
cmake.define.HEYOKA_PY_ENABLE_IPO = "ON"
44+
# Do not include the docs in the sdist.
45+
sdist.exclude = ["doc"]

0 commit comments

Comments
 (0)