Skip to content

Instantly share code, notes, and snippets.

@jonringer
Created January 23, 2021 01:17
Show Gist options
  • Select an option

  • Save jonringer/4269358c4cc01e2e7140898bbe038b16 to your computer and use it in GitHub Desktop.

Select an option

Save jonringer/4269358c4cc01e2e7140898bbe038b16 to your computer and use it in GitHub Desktop.
=================================== FAILURES ===================================
_______________________ test_given_edits_annotations[1] ________________________
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_annotations.py", line 118, 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 0x7ffff50bd980>('return')
+ where <built-in method pop of dict object at 0x7ffff50bd980> = {'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
_______________________ test_given_edits_annotations[2] ________________________
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_annotations.py", line 118, 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 0x7ffff4e5aa40>('return')
+ where <built-in method pop of dict object at 0x7ffff4e5aa40> = {'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
_______________________ test_given_edits_annotations[3] ________________________
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_annotations.py", line 118, 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 0x7ffff4fed680>('return')
+ where <built-in method pop of dict object at 0x7ffff4fed680> = {}.pop
+ where {} = FullArgSpec(args=[], varargs=None, varkw=None, defaults=None, kwonlyargs=[], kwonlydefaults=None, annotations={}).annotations
_________________________ test_same_typevars_same_type _________________________
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 334, in test_same_typevars_same_type
def test_same_typevars_same_type(data):
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1163, in wrapped_test
raise the_error_hypothesis_found
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1132, in wrapped_test
state.run_engine()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 751, in run_engine
runner.run()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 899, in _run
self.generate_new_examples()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 631, in generate_new_examples
zero_data = self.cached_test_function(bytes(BUFFER_SIZE))
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/engine.py", line 1078, in cached_test_function
self.test_function(data)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 704, in _execute_once_for_engine
escalate_hypothesis_internal_error()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 675, in _execute_once_for_engine
result = self.execute_once(data)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 630, in execute_once
result = self.test_runner(data, run)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 626, in run
return test(*args, **kwargs)
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 334, in test_same_typevars_same_type
def test_same_typevars_same_type(data):
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 549, in test
result = self.test(*args, **kwargs)
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 341, in test_same_typevars_same_type
data.draw(st.builds(same_type_args))
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 2123, in draw
result = self.conjecture_data.draw(strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 887, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1273, in do_draw
return self.target(
TypeError: test_same_typevars_same_type.<locals>.same_type_args() missing 2 required positional arguments: 'a' and 'b'
---------------------------------- Hypothesis ----------------------------------
You can add @seed(80638313481615409284452227917927712600) to this test or run pytest with --hypothesis-seed=80638313481615409284452227917927712600 to reproduce this failure.
___________ test_inference_on_generic_collections_abc_aliases[typ0] ____________
Traceback (most recent call last):
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 12, in load_tzdata
return importlib.resources.open_binary(package_name, resource_name)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/resources.py", line 40, in open_binary
package = _common.get_package(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 66, in get_package
resolved = resolve(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 56, in resolve
else importlib.import_module(cand)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 991, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 1003, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tzdata'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 606, in test_inference_on_generic_collections_abc_aliases
@given(data=st.data())
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1163, in wrapped_test
raise the_error_hypothesis_found
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 612, in test_inference_on_generic_collections_abc_aliases
value = data.draw(st.from_type(typ))
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 2123, in draw
result = self.conjecture_data.draw(strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 887, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 630, in do_draw
return data.draw(strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 691, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 24, in load_tzdata
raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_inference_on_generic_collections_abc_aliases(
typ=typing.Hashable, data=data(...),
)
_________________________ test_timezone_lookup[tzinfo] _________________________
Traceback (most recent call last):
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 12, in load_tzdata
return importlib.resources.open_binary(package_name, resource_name)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/resources.py", line 40, in open_binary
package = _common.get_package(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 66, in get_package
resolved = resolve(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 56, in resolve
else importlib.import_module(cand)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 991, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 1003, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tzdata'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 674, in test_timezone_lookup
assert_all_examples(st.from_type(type_), lambda t: isinstance(t, type_))
File "/build/source/hypothesis-python/tests/common/debug.py", line 112, in assert_all_examples
assert_examples()
File "/build/source/hypothesis-python/tests/common/debug.py", line 108, in assert_examples
def assert_examples(s):
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1163, in wrapped_test
raise the_error_hypothesis_found
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 24, in load_tzdata
raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
__________ test_generic_collections_only_use_hashable_elements[typ0] ___________
Traceback (most recent call last):
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 12, in load_tzdata
return importlib.resources.open_binary(package_name, resource_name)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/resources.py", line 40, in open_binary
package = _common.get_package(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 66, in get_package
resolved = resolve(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 56, in resolve
else importlib.import_module(cand)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 991, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 1003, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tzdata'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 678, in test_generic_collections_only_use_hashable_elements
"typ",
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1163, in wrapped_test
raise the_error_hypothesis_found
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 688, in test_generic_collections_only_use_hashable_elements
data.draw(from_type(typ))
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 2123, in draw
result = self.conjecture_data.draw(strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 887, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 691, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 157, in do_draw
value = filtered.filtered_strategy.do_filtered_draw(
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 357, in do_filtered_draw
return filter_strategy.default_do_filtered_draw(data)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 781, in default_do_filtered_draw
value = data.draw(self.filtered_strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 630, in do_draw
return data.draw(strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 691, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 24, in load_tzdata
raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_generic_collections_only_use_hashable_elements(
typ=typing.Set[typing.Hashable], data=data(...),
)
__________ test_generic_collections_only_use_hashable_elements[typ1] ___________
Traceback (most recent call last):
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 12, in load_tzdata
return importlib.resources.open_binary(package_name, resource_name)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/resources.py", line 40, in open_binary
package = _common.get_package(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 66, in get_package
resolved = resolve(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 56, in resolve
else importlib.import_module(cand)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 991, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 1003, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tzdata'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 678, in test_generic_collections_only_use_hashable_elements
"typ",
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1163, in wrapped_test
raise the_error_hypothesis_found
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 688, in test_generic_collections_only_use_hashable_elements
data.draw(from_type(typ))
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 2123, in draw
result = self.conjecture_data.draw(strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 887, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 691, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 157, in do_draw
value = filtered.filtered_strategy.do_filtered_draw(
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 357, in do_filtered_draw
return filter_strategy.default_do_filtered_draw(data)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 781, in default_do_filtered_draw
value = data.draw(self.filtered_strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 630, in do_draw
return data.draw(strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 691, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 24, in load_tzdata
raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_generic_collections_only_use_hashable_elements(
typ=typing.FrozenSet[typing.Hashable], data=data(...),
)
__________ test_generic_collections_only_use_hashable_elements[typ2] ___________
Traceback (most recent call last):
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 12, in load_tzdata
return importlib.resources.open_binary(package_name, resource_name)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/resources.py", line 40, in open_binary
package = _common.get_package(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 66, in get_package
resolved = resolve(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 56, in resolve
else importlib.import_module(cand)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 991, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 1003, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tzdata'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 678, in test_generic_collections_only_use_hashable_elements
"typ",
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1163, in wrapped_test
raise the_error_hypothesis_found
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 688, in test_generic_collections_only_use_hashable_elements
data.draw(from_type(typ))
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 2123, in draw
result = self.conjecture_data.draw(strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 887, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 691, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 157, in do_draw
value = filtered.filtered_strategy.do_filtered_draw(
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 357, in do_filtered_draw
return filter_strategy.default_do_filtered_draw(data)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 781, in default_do_filtered_draw
value = data.draw(self.filtered_strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 630, in do_draw
return data.draw(strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 691, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 24, in load_tzdata
raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_generic_collections_only_use_hashable_elements(
typ=typing.Dict[typing.Hashable, int], data=data(...),
)
_____________________ test_hashable_type_unhashable_value ______________________
Traceback (most recent call last):
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 12, in load_tzdata
return importlib.resources.open_binary(package_name, resource_name)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/resources.py", line 40, in open_binary
package = _common.get_package(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 66, in get_package
resolved = resolve(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 56, in resolve
else importlib.import_module(cand)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 991, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 1003, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tzdata'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 694, in test_hashable_type_unhashable_value
find_any(
File "/build/source/hypothesis-python/tests/common/debug.py", line 83, in find_any
return minimal(
File "/build/source/hypothesis-python/tests/common/debug.py", line 72, in minimal
inner()
File "/build/source/hypothesis-python/tests/common/debug.py", line 55, in inner
@Settings(
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1163, in wrapped_test
raise the_error_hypothesis_found
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 24, in load_tzdata
raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
_______________ test_compat_get_type_hints_aware_of_None_default _______________
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_lookup.py", line 745, in test_compat_get_type_hints_aware_of_None_default
assert inspect.signature(constructor).parameters["a"].annotation == str
AssertionError: assert typing.Optional[str] == str
+ where typing.Optional[str] = <Parameter "a: Optional[str] = None">.annotation
____________________________ test_simple_typeddict _____________________________
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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1022, in wrapped_test
processed_args = process_arguments_to_given(
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 440, in process_arguments_to_given
search_strategy.validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 679, in do_validate
self.mapped_strategy.validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 679, in do_validate
self.mapped_strategy.validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 383, in validate
self.is_empty
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 129, in accept
recur(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 258, in calc_is_empty
return recur(self.fixed)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 227, in calc_is_empty
return recur(self.mapped_strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1445, in <lambda>
lambda thing: deferred(lambda: _from_type(thing)),
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1556, in _from_type
return types.from_typing_type(thing)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/types.py", line 263, in from_typing_type
raise ResolutionFailed(
hypothesis.errors.ResolutionFailed: Could not resolve ForwardRef('int') to a strategy; consider using register_type_strategy
_________________________ test_typeddict_with_optional _________________________
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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1022, in wrapped_test
processed_args = process_arguments_to_given(
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 440, in process_arguments_to_given
search_strategy.validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 679, in do_validate
self.mapped_strategy.validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 679, in do_validate
self.mapped_strategy.validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 383, in validate
self.is_empty
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 129, in accept
recur(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 258, in calc_is_empty
return recur(self.fixed)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 227, in calc_is_empty
return recur(self.mapped_strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1445, in <lambda>
lambda thing: deferred(lambda: _from_type(thing)),
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1556, in _from_type
return types.from_typing_type(thing)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/types.py", line 263, in from_typing_type
raise ResolutionFailed(
hypothesis.errors.ResolutionFailed: Could not resolve ForwardRef('int') to a strategy; consider using register_type_strategy
_______________ test_typeddict_with_optional_then_required_again _______________
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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1022, in wrapped_test
processed_args = process_arguments_to_given(
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 440, in process_arguments_to_given
search_strategy.validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 679, in do_validate
self.mapped_strategy.validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 679, in do_validate
self.mapped_strategy.validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 382, in validate
self.do_validate()
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 383, in validate
self.is_empty
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 129, in accept
recur(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 258, in calc_is_empty
return recur(self.fixed)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/collections.py", line 227, in calc_is_empty
return recur(self.mapped_strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 125, in recur
mapping[strat] = getattr(strat, calculation)(recur)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1445, in <lambda>
lambda thing: deferred(lambda: _from_type(thing)),
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 1556, in _from_type
return types.from_typing_type(thing)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/types.py", line 263, in from_typing_type
raise ResolutionFailed(
hypothesis.errors.ResolutionFailed: Could not resolve ForwardRef('int') to a strategy; consider using register_type_strategy
____________ test_can_generate_from_all_registered_types[ZoneInfo] _____________
Traceback (most recent call last):
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 12, in load_tzdata
return importlib.resources.open_binary(package_name, resource_name)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/resources.py", line 40, in open_binary
package = _common.get_package(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 66, in get_package
resolved = resolve(package)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/_common.py", line 56, in resolve
else importlib.import_module(cand)
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 991, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1049, in _gcd_import
File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
File "<frozen importlib._bootstrap>", line 1003, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tzdata'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/build/source/hypothesis-python/tests/cover/test_type_lookup.py", line 203, in test_can_generate_from_all_registered_types
"typ", sorted((x for x in _global_type_lookup if x.__module__ != "typing"), key=str)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/core.py", line 1163, in wrapped_test
raise the_error_hypothesis_found
File "/build/source/hypothesis-python/tests/cover/test_type_lookup.py", line 207, in test_can_generate_from_all_registered_types
value = data.draw(st.from_type(typ), label="value")
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/core.py", line 2123, in draw
result = self.conjecture_data.draw(strategy)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 887, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-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/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/internal/conjecture/data.py", line 883, in draw
return strategy.do_draw(self)
File "/nix/store/rrmrdwdcrclihhvc9q14a9m4f3ybi4mx-python3.10-hypothesis-6.0.2/lib/python3.10/site-packages/hypothesis/strategies/_internal/strategies.py", line 691, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "/nix/store/3zgvridgy4yzl8gg0bbc798wnfssdal5-python3-3.10.0a3/lib/python3.10/zoneinfo/_common.py", line 24, in load_tzdata
raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_can_generate_from_all_registered_types(
data=data(...), typ=zoneinfo.ZoneInfo,
)
=============================== warnings summary ===============================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment