Skip to content

Commit a709f38

Browse files
committed
Fix another case of encoding typing.
1 parent 036361f commit a709f38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_url.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
import unittest
33
from inspect import isclass
4-
from typing import Any, Optional, Union, Type, Callable, Tuple, List
4+
from typing import Optional, Union, Type, Callable, Tuple, List
55
from urllib.parse import urlparse
66

77
import pytest
@@ -372,7 +372,7 @@ def _test_safe_url_string(
372372
),
373373
)
374374
def test_safe_url_string_encoding(
375-
encoding: Any, url: StrOrBytes, output: Union[str, Type[Exception]]
375+
encoding: Optional[str], url: StrOrBytes, output: Union[str, Type[Exception]]
376376
) -> None:
377377
_test_safe_url_string(url, encoding=encoding, output=output)
378378

0 commit comments

Comments
 (0)