Skip to content

Commit 2558b74

Browse files
committed
Fix code written with stupid nano.
1 parent 658d3fe commit 2558b74

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Lib/test/test_functools.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3408,15 +3408,15 @@ def _(self, arg: typing.Self):
34083408
return arg
34093409

34103410
# 'self' cannot be the only parameter
3411-
with self.assertRaises(TypeError):
3412-
class Foo:
3413-
@functools.singledispatchmethod
3414-
def bar(self: typing.Self, arg: int | str):
3415-
pass
3416-
3417-
@bar.register
3418-
def _(self: typing.Self):
3419-
pass
3411+
with self.assertRaises(TypeError):
3412+
class Foo:
3413+
@functools.singledispatchmethod
3414+
def bar(self: typing.Self, arg: int | str):
3415+
pass
3416+
3417+
@bar.register
3418+
def _(self: typing.Self):
3419+
pass
34203420

34213421

34223422
class CachedCostItem:

0 commit comments

Comments
 (0)