Files
pytorch/test/expect/TestJit.test_pretty_printer-print_weird_test.expect
James Reed 68e0796466 [JIT][write path] Make NoneType annotation_str emit NoneType instead of None (#54746)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/54746

Test Plan: Imported from OSS

Reviewed By: SplitInfinity

Differential Revision: D27350331

Pulled By: jamesr66a

fbshipit-source-id: 3f44d6589c29f39378432d0b6b281d96bb4829e7
2021-04-12 17:36:45 -07:00

4 lines
77 B
Plaintext

def print_weird_test(y: Tensor) -> NoneType:
print("hi\016")
return None