Land #11449, enhance BigDecimal deprecation message suppression
parent
f73b2dbc09
commit
0da81ccff8
|
@ -20,6 +20,7 @@ require 'backports'
|
|||
require 'bigdecimal'
|
||||
|
||||
def BigDecimal.new(*args, **kwargs)
|
||||
return BigDecimal(*args) if kwargs.empty?
|
||||
BigDecimal(*args, **kwargs)
|
||||
end
|
||||
# Remove bigdecimal warning - end
|
||||
|
|
Loading…
Reference in New Issue