|
22 | 22 | ([3000, False, True], "2.9K"), |
23 | 23 | ([3000000, False, True], "2.9M"), |
24 | 24 | ([1024, False, True], "1.0K"), |
25 | | - ([10 ** 26 * 30, False, True], "2481.5Y"), |
26 | | - ([10 ** 26 * 30, True], "2481.5 YiB"), |
27 | | - ([10 ** 26 * 30], "3000.0 YB"), |
| 25 | + ([10**26 * 30, False, True], "2481.5Y"), |
| 26 | + ([10**26 * 30, True], "2481.5 YiB"), |
| 27 | + ([10**26 * 30], "3000.0 YB"), |
28 | 28 | ([1, False, False], "1 Byte"), |
29 | 29 | ([3141592, False, False, "%.2f"], "3.14 MB"), |
30 | 30 | ([3000, False, True, "%.3f"], "2.930K"), |
31 | 31 | ([3000000000, False, True, "%.0f"], "3G"), |
32 | | - ([10 ** 26 * 30, True, False, "%.3f"], "2481.542 YiB"), |
| 32 | + ([10**26 * 30, True, False, "%.3f"], "2481.542 YiB"), |
33 | 33 | ], |
34 | 34 | ) |
35 | 35 | def test_naturalsize(test_args, expected): |
|
0 commit comments