chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:32:53 +08:00
commit 2a16f2f53b
247 changed files with 69150 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
"""
Modules checks, in particular some hacks for Issue #657
"""
from pytest import raises
import mpmath
def test_erroneous_module_setting():
with raises(AttributeError):
mpmath.dps = 64
with raises(AttributeError):
mpmath.prec = 192
with raises(AttributeError):
mpmath.pretty = True
with raises(AttributeError):
mpmath.trap_complex = True