Wes McKinney created ARROW-4928:
-----------------------------------

             Summary: [Python] Hypothesis test failures
                 Key: ARROW-4928
                 URL: https://issues.apache.org/jira/browse/ARROW-4928
             Project: Apache Arrow
          Issue Type: Bug
            Reporter: Wes McKinney
             Fix For: 0.13.0


I don't think these are being run regularly anywhere (?)

{code}
==================================== FAILURES 
=====================================
__________________________________ test_pickling 
__________________________________

    @h.given(
>       past.arrays(
            past.all_types,
            size=st.integers(min_value=0, max_value=10)
        )
    )
    def test_pickling(arr):

pyarrow/tests/test_array.py:822: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _
pyarrow/tests/strategies.py:145: in arrays
    type = draw(type)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:508:
 in do_draw
    return data.draw(self.element_strategies[i], label=self.branch_labels[i])
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/_strategies.py:1200:
 in <lambda>
    lambda value: target(*value[0], **value[1])
pyarrow/types.pxi:1347: in pyarrow.lib.decimal128
    cpdef DataType decimal128(int precision, int scale=0):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _

>   raise ValueError("precision should be between 1 and 38")
E   ValueError: precision should be between 1 and 38

pyarrow/types.pxi:1362: ValueError
----------------------------------- Hypothesis 
------------------------------------
You can add @seed(150345453957525051493869399118570182513) to this test or run 
pytest with --hypothesis-seed=150345453957525051493869399118570182513 to 
reproduce this failure.
__________________________________ test_schemas 
___________________________________

    @h.given(past.all_schemas)
>   def test_schemas(schema):

pyarrow/tests/test_strategies.py:35: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _
pyarrow/types.pxi:1347: in pyarrow.lib.decimal128
    cpdef DataType decimal128(int precision, int scale=0):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _

>   raise ValueError("precision should be between 1 and 38")
E   ValueError: precision should be between 1 and 38

pyarrow/types.pxi:1362: ValueError
----------------------------------- Hypothesis 
------------------------------------
You can add @seed(275336988088025852485731858331440131646) to this test or run 
pytest with --hypothesis-seed=275336988088025852485731858331440131646 to 
reproduce this failure.
___________________________________ test_arrays 
___________________________________

    @h.given(past.all_arrays)
>   def test_arrays(array):

pyarrow/tests/test_strategies.py:40: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _
pyarrow/tests/strategies.py:145: in arrays
    type = draw(type)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:508:
 in do_draw
    return data.draw(self.element_strategies[i], label=self.branch_labels[i])
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/_strategies.py:1200:
 in <lambda>
    lambda value: target(*value[0], **value[1])
pyarrow/types.pxi:1347: in pyarrow.lib.decimal128
    cpdef DataType decimal128(int precision, int scale=0):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _

>   raise ValueError("precision should be between 1 and 38")
E   ValueError: precision should be between 1 and 38

pyarrow/types.pxi:1362: ValueError
----------------------------------- Hypothesis 
------------------------------------
You can add @seed(112717218077417468999288153449881179589) to this test or run 
pytest with --hypothesis-seed=112717218077417468999288153449881179589 to 
reproduce this failure.
_______________________________ test_chunked_arrays 
_______________________________

    @h.given(past.all_chunked_arrays)
>   def test_chunked_arrays(chunked_array):

pyarrow/tests/test_strategies.py:45: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _
pyarrow/tests/strategies.py:206: in chunked_arrays
    type = draw(type)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:508:
 in do_draw
    return data.draw(self.element_strategies[i], label=self.branch_labels[i])
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/_strategies.py:1200:
 in <lambda>
    lambda value: target(*value[0], **value[1])
pyarrow/types.pxi:1347: in pyarrow.lib.decimal128
    cpdef DataType decimal128(int precision, int scale=0):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _

>   raise ValueError("precision should be between 1 and 38")
E   ValueError: precision should be between 1 and 38

pyarrow/types.pxi:1362: ValueError
----------------------------------- Hypothesis 
------------------------------------
You can add @seed(249910746870640720519016487591535359287) to this test or run 
pytest with --hypothesis-seed=249910746870640720519016487591535359287 to 
reproduce this failure.
_______________________________ test_record_batches 
_______________________________

    @h.given(past.all_record_batches)
>   def test_record_batches(record_bath):

pyarrow/tests/test_strategies.py:55: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _
pyarrow/tests/strategies.py:233: in record_batches
    schema = draw(schemas(type, max_fields=max_fields))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:115:
 in do_draw
    result.append(data.draw(self.element_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:508:
 in do_draw
    return data.draw(self.element_strategies[i], label=self.branch_labels[i])
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:115:
 in do_draw
    result.append(data.draw(self.element_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:508:
 in do_draw
    return data.draw(self.element_strategies[i], label=self.branch_labels[i])
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/_strategies.py:1200:
 in <lambda>
    lambda value: target(*value[0], **value[1])
pyarrow/types.pxi:1347: in pyarrow.lib.decimal128
    cpdef DataType decimal128(int precision, int scale=0):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _

>   raise ValueError("precision should be between 1 and 38")
E   ValueError: precision should be between 1 and 38

pyarrow/types.pxi:1362: ValueError
----------------------------------- Hypothesis 
------------------------------------
You can add @seed(224188657977816444687824754926551268633) to this test or run 
pytest with --hypothesis-seed=224188657977816444687824754926551268633 to 
reproduce this failure.
___________________________________ test_tables 
___________________________________

    @h.given(past.all_tables)
>   def test_tables(table):

pyarrow/tests/test_strategies.py:60: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _
pyarrow/tests/strategies.py:249: in tables
    schema = draw(schemas(type, max_fields=max_fields))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:115:
 in do_draw
    result.append(data.draw(self.element_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:508:
 in do_draw
    return data.draw(self.element_strategies[i], label=self.branch_labels[i])
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:115:
 in do_draw
    result.append(data.draw(self.element_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in do_draw
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/collections.py:55:
 in <genexpr>
    return tuple(data.draw(e) for e in self.element_strategies)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:508:
 in do_draw
    return data.draw(self.element_strategies[i], label=self.branch_labels[i])
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/lazy.py:156:
 in do_draw
    return data.draw(self.wrapped_strategy)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:233:
 in draw
    return self.__draw(strategy, label=label)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/internal/conjecture/data.py:242:
 in __draw
    return strategy.do_draw(self)
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/searchstrategy/strategies.py:570:
 in do_draw
    result = self.pack(data.draw(self.mapped_strategy))
../../../miniconda/envs/arrow-3.7/lib/python3.7/site-packages/hypothesis/_strategies.py:1200:
 in <lambda>
    lambda value: target(*value[0], **value[1])
pyarrow/types.pxi:1347: in pyarrow.lib.decimal128
    cpdef DataType decimal128(int precision, int scale=0):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _

>   raise ValueError("precision should be between 1 and 38")
E   ValueError: precision should be between 1 and 38

pyarrow/types.pxi:1362: ValueError
----------------------------------- Hypothesis 
------------------------------------
You can add @seed(11590233605635440545759465827826616216) to this test or run 
pytest with --hypothesis-seed=11590233605635440545759465827826616216 to 
reproduce this failure.
__________________________________ test_pickling 
__________________________________

    @h.given(
>       past.all_types |
        past.all_fields |
        past.all_schemas
    )
    @h.example(
        pa.field(name='', type=pa.null(), metadata={'0': '', '': ''})
    )
    def test_pickling(field):

pyarrow/tests/test_types.py:546: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _
pyarrow/types.pxi:1347: in pyarrow.lib.decimal128
    cpdef DataType decimal128(int precision, int scale=0):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _

>   raise ValueError("precision should be between 1 and 38")
E   ValueError: precision should be between 1 and 38

pyarrow/types.pxi:1362: ValueError
----------------------------------- Hypothesis 
------------------------------------
You can add @seed(29668570043146860011453262620485865691) to this test or run 
pytest with --hypothesis-seed=29668570043146860011453262620485865691 to 
reproduce this failure.
__________________________________ test_hashing 
___________________________________

    @h.given(
>       st.lists(past.all_types) |
        st.lists(past.all_fields) |
        st.lists(past.all_schemas)
    )
    def test_hashing(items):

pyarrow/tests/test_types.py:559: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _
pyarrow/types.pxi:1347: in pyarrow.lib.decimal128
    cpdef DataType decimal128(int precision, int scale=0):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _

>   raise ValueError("precision should be between 1 and 38")
E   ValueError: precision should be between 1 and 38

pyarrow/types.pxi:1362: ValueError
----------------------------------- Hypothesis 
------------------------------------
You can add @seed(154619181152052597443025012079016131068) to this test or run 
pytest with --hypothesis-seed=154619181152052597443025012079016131068 to 
reproduce this failure.
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to