Skip to content

Commit d6b8617

Browse files
reject-ikclowes
andauthored
fix errors (#3606)
* Update test_get_text.py * Update conftest.py * Update time_based.py * Add newsfragment --------- Co-authored-by: kclowes <[email protected]>
1 parent 1d6fc15 commit d6b8617

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

newsfragments/3606.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Rename test so pytest finds it, a couple typo fixes

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def emitter_contract_data():
4242
return EMITTER_CONTRACT_DATA
4343

4444

45-
# This class defines events for the EmitterContract and are used to construct
45+
# This class defines events for the EmitterContract and is used to construct
4646
# a fixture for contract event logs. Parameterized tests that utilize an `emitter`
4747
# contract fixture will use this data.
4848
class LogFunctions:
@@ -71,7 +71,7 @@ def emitter_contract_event_ids():
7171
return LogFunctions
7272

7373

74-
# This class defines topics for the EmitterContract and are used to construct
74+
# This class defines topics for the EmitterContract and is used to construct
7575
# a fixture for contract event log topics. Parameterized tests that utilize
7676
# an `emitter` contract fixture will use this data.
7777
class LogTopics:

tests/ens/test_get_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ async def test_async_set_text_fails_with_bad_address(async_ens):
112112

113113

114114
@pytest.mark.asyncio
115-
async def async_test_set_text_pass_in_transaction_dict(async_ens):
115+
async def test_async_set_text_pass_in_transaction_dict(async_ens):
116116
accounts = await async_ens.w3.eth.accounts
117117
address = accounts[2]
118118

web3/gas_strategies/time_based.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def _compute_gas_price(
158158
159159
:param probabilities: An iterable of `Probability` named-tuples
160160
sorted in reverse order.
161-
:param desired_probability: An floating point representation of the desired
161+
:param desired_probability: A floating point representation of the desired
162162
probability. (e.g. ``85% -> 0.85``)
163163
"""
164164
first = probabilities[0]

0 commit comments

Comments
 (0)