filter_=lambda n: n is not None and round(n, 5) or None
)
+ @testing.skip_if(
+ "oracle", "temporary skip until cx_oracle refactor is merged")
@testing.requires.precision_generic_float_type
def test_float_custom_scale(self):
self._do_test(
check_scale=True
)
+ @testing.skip_if(
+ "oracle", "temporary skip until cx_oracle refactor is merged")
def test_numeric_as_decimal(self):
self._do_test(
Numeric(precision=8, scale=4),
[decimal.Decimal("15.7563")],
)
+ @testing.skip_if(
+ "oracle", "temporary skip until cx_oracle refactor is merged")
def test_numeric_as_float(self):
self._do_test(
Numeric(precision=8, scale=4, asdecimal=False),
[15.7563],
)
+ @testing.skip_if(
+ "oracle", "temporary skip until cx_oracle refactor is merged")
@testing.requires.fetch_null_from_numeric
def test_numeric_null_as_decimal(self):
self._do_test(
[None],
)
+ @testing.skip_if(
+ "oracle", "temporary skip until cx_oracle refactor is merged")
@testing.requires.floats_to_four_decimals
def test_float_as_decimal(self):
self._do_test(
[decimal.Decimal("15.7563"), None],
)
+ @testing.skip_if(
+ "oracle", "temporary skip until cx_oracle refactor is merged")
def test_float_as_float(self):
self._do_test(
Float(precision=8),
# )
# eq_(val, expr)
+ @testing.skip_if(
+ "oracle", "temporary skip until cx_oracle refactor is merged")
@testing.requires.precision_numerics_general
def test_precision_decimal(self):
numbers = set([
numbers,
)
+ @testing.skip_if(
+ "oracle", "temporary skip until cx_oracle refactor is merged")
@testing.requires.precision_numerics_enotation_large
def test_enotation_decimal(self):
"""test exceedingly small decimals.
numbers
)
+ @testing.skip_if(
+ "oracle", "temporary skip until cx_oracle refactor is merged")
@testing.requires.precision_numerics_enotation_large
def test_enotation_decimal_large(self):
"""test exceedingly large decimals.