Skip to content

Commit 262e3f1

Browse files
amyreesefacebook-github-bot
authored andcommitted
formatting changes from black 22.3.0
Summary: Applies the black-fbsource codemod with the new build of pyfmt. paintitblack Reviewed By: lisroach Differential Revision: D36324783 fbshipit-source-id: 280c09e88257e5e569ab729691165d8dedd767bc
1 parent c34940e commit 262e3f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_csprng.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ def test_random_kstest(self):
7272
for gen in self.all_generators:
7373
for dtype in self.num_dtypes:
7474
if dtype == torch.float:
75-
to_inc = 2 ** 24
75+
to_inc = 2**24
7676
elif dtype == torch.double:
77-
to_inc = 2 ** 53
77+
to_inc = 2**53
7878
elif dtype == torch.half:
79-
to_inc = 2 ** 11
79+
to_inc = 2**11
8080
elif dtype == torch.bfloat16:
81-
to_inc = 2 ** 8
81+
to_inc = 2**8
8282
else:
8383
to_inc = torch.iinfo(dtype).max
8484

0 commit comments

Comments
 (0)