Skip to content

Commit 4fb2e20

Browse files
committed
change: Resolve Black formatting failures
Black is unable to handle trailing 'L' or 'l' which is no longer supported as of python 3.8. This commit removes those unnecessary 'long' identifiers. https://www.python.org/dev/peps/pep-0237/
1 parent ecc41cb commit 4fb2e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/data/mxnet_mnist/mnist_hosting_with_custom_handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def model_fn(path_to_model_files):
2828
from mxnet.io import DataDesc
2929
loaded_symbol = mx.symbol.load(os.path.join(path_to_model_files, "symbol"))
3030
created_module = mx.mod.Module(symbol=loaded_symbol)
31-
created_module.bind([DataDesc("data", (1L, 1L, 28L, 28L))])
31+
created_module.bind([DataDesc("data", (1, 1, 28, 28))])
3232
created_module.load_params(os.path.join(path_to_model_files, "params"))
3333
return created_module
3434

0 commit comments

Comments
 (0)