Skip to content

Commit e5217a2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3626725 commit e5217a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/test_constraint.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ def method(self, x = {fail_val}):
781781
def test_isinstance_equal_types() -> None:
782782
"""Test constraint for an object whose type is equal to the checked type."""
783783
node = builder.extract_node(
784-
f"""
784+
"""
785785
class A:
786786
pass
787787
@@ -802,7 +802,7 @@ class A:
802802
def test_isinstance_subtype() -> None:
803803
"""Test constraint for an object whose type is a strict subtype of the checked type."""
804804
node = builder.extract_node(
805-
f"""
805+
"""
806806
class A:
807807
pass
808808
@@ -826,7 +826,7 @@ class B(A):
826826
def test_isinstance_unrelated_types():
827827
"""Test constraint for an object whose type is not related to the checked type."""
828828
node = builder.extract_node(
829-
f"""
829+
"""
830830
class A:
831831
pass
832832
@@ -848,7 +848,7 @@ class B:
848848
def test_isinstance_supertype():
849849
"""Test constraint for an object whose type is a strict supertype of the checked type."""
850850
node = builder.extract_node(
851-
f"""
851+
"""
852852
class A:
853853
pass
854854
@@ -872,7 +872,7 @@ def test_isinstance_keyword_arguments():
872872
with keyword arguments.
873873
"""
874874
n1, n2 = builder.extract_node(
875-
f"""
875+
"""
876876
x = 3
877877
878878
if isinstance(object=x, classinfo=str):
@@ -895,7 +895,7 @@ def test_isinstance_extra_argument():
895895
with more than two positional arguments.
896896
"""
897897
node = builder.extract_node(
898-
f"""
898+
"""
899899
x = 3
900900
901901
if isinstance(x, str, bool):

0 commit comments

Comments
 (0)