Initialisation du repository de Beta
This commit is contained in:
commit
14985f6dbb
9469 changed files with 1903273 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
from sympy.testing.pytest import raises
|
||||
from sympy.utilities.exceptions import sympy_deprecation_warning
|
||||
|
||||
# Only test exceptions here because the other cases are tested in the
|
||||
# warns_deprecated_sympy tests
|
||||
def test_sympy_deprecation_warning():
|
||||
raises(TypeError, lambda: sympy_deprecation_warning('test',
|
||||
deprecated_since_version=1.10,
|
||||
active_deprecations_target='active-deprecations'))
|
||||
|
||||
raises(ValueError, lambda: sympy_deprecation_warning('test',
|
||||
deprecated_since_version="1.10", active_deprecations_target='(active-deprecations)='))
|
||||
Loading…
Add table
Add a link
Reference in a new issue