Created
January 23, 2021 00:24
-
-
Save jonringer/1dfdf20656efa9a974f00fa10f637f28 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =================================== FAILURES =================================== | |
| [31m[1m_______________________ test_given_edits_annotations[1] ________________________[0m | |
| Traceback (most recent call last): | |
| File "/build/source/hypothesis-python/tests/cover/test_annotations.py", line 119, in test_given_edits_annotations | |
| assert spec_given.annotations.pop("return") is None | |
| AssertionError: assert <class 'NoneType'> is None | |
| + where <class 'NoneType'> = <built-in method pop of dict object at 0x7ffff4db1780>('return') | |
| + where <built-in method pop of dict object at 0x7ffff4db1780> = {'draw': <class 'NoneType'>, 'strat': <class 'bool'>}.pop | |
| + where {'draw': <class 'NoneType'>, 'strat': <class 'bool'>} = FullArgSpec(args=['draw', 'strat'], varargs=None, varkw=None, defaults=None, kwonlyargs=[], kwonlydefaults=None, annotations={'draw': <class 'NoneType'>, 'strat': <class 'bool'>}).annotations | |
| [31m[1m_______________________ test_given_edits_annotations[2] ________________________[0m | |
| Traceback (most recent call last): | |
| File "/build/source/hypothesis-python/tests/cover/test_annotations.py", line 119, in test_given_edits_annotations | |
| assert spec_given.annotations.pop("return") is None | |
| AssertionError: assert <class 'NoneType'> is None | |
| + where <class 'NoneType'> = <built-in method pop of dict object at 0x7ffff4dafb00>('return') | |
| + where <built-in method pop of dict object at 0x7ffff4dafb00> = {'draw': <class 'NoneType'>}.pop | |
| + where {'draw': <class 'NoneType'>} = FullArgSpec(args=['draw'], varargs=None, varkw=None, defaults=None, kwonlyargs=[], kwonlydefaults=None, annotations={'draw': <class 'NoneType'>}).annotations | |
| [31m[1m_______________________ test_given_edits_annotations[3] ________________________[0m | |
| Traceback (most recent call last): | |
| File "/build/source/hypothesis-python/tests/cover/test_annotations.py", line 119, in test_given_edits_annotations | |
| assert spec_given.annotations.pop("return") is None | |
| AssertionError: assert <class 'NoneType'> is None | |
| + where <class 'NoneType'> = <built-in method pop of dict object at 0x7ffff5105200>('return') | |
| + where <built-in method pop of dict object at 0x7ffff5105200> = {}.pop | |
| + where {} = FullArgSpec(args=[], varargs=None, varkw=None, defaults=None, kwonlyargs=[], kwonlydefaults=None, annotations={}).annotations | |
| [31m[1m_________________________ test_same_typevars_same_type _________________________[0m | |
| Traceback (most recent call last): | |
| File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 304, in test_same_typevars_same_type | |
| @given(st.data()) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1143, in wrapped_test | |
| raise the_error_hypothesis_found | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1112, in wrapped_test | |
| state.run_engine() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 731, in run_engine | |
| runner.run() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 497, in run | |
| self._run() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 898, in _run | |
| self.generate_new_examples() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 630, in generate_new_examples | |
| zero_data = self.cached_test_function(bytes(BUFFER_SIZE)) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 1077, in cached_test_function | |
| self.test_function(data) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 218, in test_function | |
| self.__stoppable_test_function(data) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 194, in __stoppable_test_function | |
| self._test_function(data) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 684, in _execute_once_for_engine | |
| escalate_hypothesis_internal_error() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 655, in _execute_once_for_engine | |
| result = self.execute_once(data) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 610, in execute_once | |
| result = self.test_runner(data, run) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/executors.py", line 52, in default_new_style_executor | |
| return function(data) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 606, in run | |
| return test(*args, **kwargs) | |
| File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 304, in test_same_typevars_same_type | |
| @given(st.data()) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 529, in test | |
| result = self.test(*args, **kwargs) | |
| File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 312, in test_same_typevars_same_type | |
| data.draw(st.builds(same_type_args)) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 2026, in draw | |
| result = self.conjecture_data.draw(strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 889, in draw | |
| return strategy.do_draw(self) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/lazy.py", line 150, in do_draw | |
| return data.draw(self.wrapped_strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 884, in draw | |
| return strategy.do_draw(self) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 650, in do_draw | |
| result = self.pack(data.draw(self.mapped_strategy)) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1307, in <lambda> | |
| lambda value: target(*value[0], **value[1]) # type: ignore | |
| TypeError: test_same_typevars_same_type.<locals>.same_type_args() missing 2 required positional arguments: 'a' and 'b' | |
| ---------------------------------- Hypothesis ---------------------------------- | |
| You can add @seed(317957761056739428295597042076674743053) to this test or run pytest with --hypothesis-seed=317957761056739428295597042076674743053 to reproduce this failure. | |
| [31m[1m____________________________ test_simple_typeddict _____________________________[0m | |
| Traceback (most recent call last): | |
| File "/build/source/hypothesis-python/tests/cover/test_lookup_py38.py", line 57, in test_simple_typeddict | |
| def test_simple_typeddict(value): | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1002, in wrapped_test | |
| processed_args = process_arguments_to_given( | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 420, in process_arguments_to_given | |
| search_strategy.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 39, in do_validate | |
| s.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 638, in do_validate | |
| self.mapped_strategy.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/lazy.py", line 118, in do_validate | |
| w.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 638, in do_validate | |
| self.mapped_strategy.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 39, in do_validate | |
| s.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/lazy.py", line 118, in do_validate | |
| w.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 378, in validate | |
| self.is_empty | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in accept | |
| recur(self) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 252, in calc_is_empty | |
| return recur(self.fixed) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 221, in calc_is_empty | |
| return recur(self.mapped_strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 60, in calc_is_empty | |
| return any(recur(e) for e in self.element_strategies) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 60, in <genexpr> | |
| return any(recur(e) for e in self.element_strategies) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/lazy.py", line 86, in calc_is_empty | |
| return recur(self.wrapped_strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/deferred.py", line 80, in calc_is_empty | |
| return recur(self.wrapped_strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/deferred.py", line 43, in wrapped_strategy | |
| result = self.__definition() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1389, in <lambda> | |
| lambda thing: deferred(lambda: _from_type(thing)), | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1482, in _from_type | |
| return types.from_typing_type(thing) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/types.py", line 267, in from_typing_type | |
| raise ResolutionFailed( | |
| hypothesis.errors.ResolutionFailed: Could not resolve ForwardRef('int') to a strategy; consider using register_type_strategy | |
| [31m[1m_________________________ test_typeddict_with_optional _________________________[0m | |
| Traceback (most recent call last): | |
| File "/build/source/hypothesis-python/tests/cover/test_lookup_py38.py", line 69, in test_typeddict_with_optional | |
| def test_typeddict_with_optional(value): | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1002, in wrapped_test | |
| processed_args = process_arguments_to_given( | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 420, in process_arguments_to_given | |
| search_strategy.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 39, in do_validate | |
| s.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 638, in do_validate | |
| self.mapped_strategy.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/lazy.py", line 118, in do_validate | |
| w.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 638, in do_validate | |
| self.mapped_strategy.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 39, in do_validate | |
| s.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/lazy.py", line 118, in do_validate | |
| w.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 378, in validate | |
| self.is_empty | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in accept | |
| recur(self) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 252, in calc_is_empty | |
| return recur(self.fixed) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 221, in calc_is_empty | |
| return recur(self.mapped_strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 60, in calc_is_empty | |
| return any(recur(e) for e in self.element_strategies) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 60, in <genexpr> | |
| return any(recur(e) for e in self.element_strategies) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/lazy.py", line 86, in calc_is_empty | |
| return recur(self.wrapped_strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/deferred.py", line 80, in calc_is_empty | |
| return recur(self.wrapped_strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/deferred.py", line 43, in wrapped_strategy | |
| result = self.__definition() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1389, in <lambda> | |
| lambda thing: deferred(lambda: _from_type(thing)), | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1482, in _from_type | |
| return types.from_typing_type(thing) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/types.py", line 267, in from_typing_type | |
| raise ResolutionFailed( | |
| hypothesis.errors.ResolutionFailed: Could not resolve ForwardRef('int') to a strategy; consider using register_type_strategy | |
| [31m[1m_______________ test_typeddict_with_optional_then_required_again _______________[0m | |
| Traceback (most recent call last): | |
| File "/build/source/hypothesis-python/tests/cover/test_lookup_py38.py", line 90, in test_typeddict_with_optional_then_required_again | |
| def test_typeddict_with_optional_then_required_again(value): | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1002, in wrapped_test | |
| processed_args = process_arguments_to_given( | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 420, in process_arguments_to_given | |
| search_strategy.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 39, in do_validate | |
| s.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 638, in do_validate | |
| self.mapped_strategy.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/lazy.py", line 118, in do_validate | |
| w.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 638, in do_validate | |
| self.mapped_strategy.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 39, in do_validate | |
| s.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 377, in validate | |
| self.do_validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/lazy.py", line 118, in do_validate | |
| w.validate() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 378, in validate | |
| self.is_empty | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in accept | |
| recur(self) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 252, in calc_is_empty | |
| return recur(self.fixed) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 221, in calc_is_empty | |
| return recur(self.mapped_strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 60, in calc_is_empty | |
| return any(recur(e) for e in self.element_strategies) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 60, in <genexpr> | |
| return any(recur(e) for e in self.element_strategies) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/lazy.py", line 86, in calc_is_empty | |
| return recur(self.wrapped_strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 121, in recur | |
| mapping[strat] = getattr(strat, calculation)(recur) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/deferred.py", line 80, in calc_is_empty | |
| return recur(self.wrapped_strategy) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/deferred.py", line 43, in wrapped_strategy | |
| result = self.__definition() | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1389, in <lambda> | |
| lambda thing: deferred(lambda: _from_type(thing)), | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1482, in _from_type | |
| return types.from_typing_type(thing) | |
| File "/nix/store/wl2cripz2hkrm3528ypwkkka536645k8-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/types.py", line 267, in from_typing_type | |
| raise ResolutionFailed( | |
| hypothesis.errors.ResolutionFailed: Could not resolve ForwardRef('int') to a strategy; consider using register_type_strategy | |
| [31m[1m__________________________ test_subTest_no_self[err0] __________________________[0m | |
| Traceback (most recent call last): | |
| File "/build/source/hypothesis-python/tests/cover/test_unittest.py", line 75, in test_subTest_no_self | |
| fname = testdir.makefile("tests.py", SUBTEST_SUITE) | |
| File "/nix/store/cg3cyjbx69vnz9639qi3mc61vx92044h-python3.10-pytest-6.2.1/lib/python3.10/site-packages/_pytest/pytester.py", line 1547, in makefile | |
| return py.path.local(str(self._pytester.makefile(ext, *args, **kwargs))) | |
| File "/nix/store/cg3cyjbx69vnz9639qi3mc61vx92044h-python3.10-pytest-6.2.1/lib/python3.10/site-packages/_pytest/pytester.py", line 788, in makefile | |
| return self._makefile(ext, args, kwargs) | |
| File "/nix/store/cg3cyjbx69vnz9639qi3mc61vx92044h-python3.10-pytest-6.2.1/lib/python3.10/site-packages/_pytest/pytester.py", line 756, in _makefile | |
| p = self.path.joinpath(basename).with_suffix(ext) | |
| File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/pathlib.py", line 892, in with_suffix | |
| raise ValueError("Invalid suffix %r" % (suffix)) | |
| ValueError: Invalid suffix 'tests.py' | |
| [31m[1m__________________________ test_subTest_no_self[err1] __________________________[0m | |
| Traceback (most recent call last): | |
| File "/build/source/hypothesis-python/tests/cover/test_unittest.py", line 75, in test_subTest_no_self | |
| fname = testdir.makefile("tests.py", SUBTEST_SUITE) | |
| File "/nix/store/cg3cyjbx69vnz9639qi3mc61vx92044h-python3.10-pytest-6.2.1/lib/python3.10/site-packages/_pytest/pytester.py", line 1547, in makefile | |
| return py.path.local(str(self._pytester.makefile(ext, *args, **kwargs))) | |
| File "/nix/store/cg3cyjbx69vnz9639qi3mc61vx92044h-python3.10-pytest-6.2.1/lib/python3.10/site-packages/_pytest/pytester.py", line 788, in makefile | |
| return self._makefile(ext, args, kwargs) | |
| File "/nix/store/cg3cyjbx69vnz9639qi3mc61vx92044h-python3.10-pytest-6.2.1/lib/python3.10/site-packages/_pytest/pytester.py", line 756, in _makefile | |
| p = self.path.joinpath(basename).with_suffix(ext) | |
| File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/pathlib.py", line 892, in with_suffix | |
| raise ValueError("Invalid suffix %r" % (suffix)) | |
| ValueError: Invalid suffix 'tests.py' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment