Skip to content

Commit d598f6a

Browse files
committed
add release notes, format
1 parent 7ef94d3 commit d598f6a

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

hypothesis-python/RELEASE.rst

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
RELEASE_TYPE: patch
2+
3+
Optimize performance (improves speed by ~5%) and clarify the wording in an error message.

hypothesis-python/src/hypothesis/core.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import warnings
2424
import zlib
2525
from collections import defaultdict
26-
from collections.abc import Coroutine, Generator, Hashable, Sequence
26+
from collections.abc import Coroutine, Generator, Hashable, Iterable, Sequence
2727
from functools import partial
2828
from random import Random
2929
from typing import (
@@ -35,7 +35,6 @@
3535
TypeVar,
3636
Union,
3737
overload,
38-
Iterable,
3938
)
4039
from unittest import TestCase
4140

hypothesis-python/src/hypothesis/internal/conjecture/junkdrawer.py

+2-11
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,13 @@
1313
anything that lives here, please move it."""
1414

1515
import array
16-
from array import ArrayType
1716
import gc
1817
import sys
1918
import time
2019
import warnings
20+
from array import ArrayType
2121
from collections.abc import Iterable, Iterator, Sequence
22-
from typing import (
23-
Any,
24-
Callable,
25-
Generic,
26-
Literal,
27-
Optional,
28-
TypeVar,
29-
Union,
30-
overload,
31-
)
22+
from typing import Any, Callable, Generic, Literal, Optional, TypeVar, Union, overload
3223

3324
from sortedcontainers import SortedList
3425

0 commit comments

Comments
 (0)