Skip to content

Commit e4a7c82

Browse files
format
1 parent c7e283d commit e4a7c82

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2706,13 +2706,13 @@ def test_attribute_changes_are_watched(self):
27062706
class A:
27072707
attr = 10**1000
27082708
class TestType(TestCase):
2709-
def read(id0):
2710-
for _ in range(BOTTOM, TOP):
2711-
A.attr
2712-
def write(id0):
2713-
x = A.attr
2714-
x += 1
2715-
A.attr = x
2709+
def read(id0):
2710+
for _ in range(BOTTOM, TOP):
2711+
A.attr
2712+
def write(id0):
2713+
x = A.attr
2714+
x += 1
2715+
A.attr = x
27162716
with ThreadPoolExecutor(NTHREADS) as pool:
27172717
pool.submit(read, (1,))
27182718
pool.submit(write, (1,))

0 commit comments

Comments
 (0)