mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Partially addresses #123062 Ran lintrunner on: - `test/jit` with command: ```bash lintrunner -a --take UFMT --all-files ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/123623 Approved by: https://github.com/ezyang
10 lines
229 B
Python
10 lines
229 B
Python
r"""
|
|
Define exceptions used in test_exception.py. We define them in a
|
|
separate file on purpose to make sure the fully qualified exception class name
|
|
is captured correctly in suce cases.
|
|
"""
|
|
|
|
|
|
class MyKeyError(KeyError):
|
|
pass
|