diff --git a/sample.py b/sample.py index 7321e47..c400289 100644 --- a/sample.py +++ b/sample.py @@ -29,4 +29,4 @@ def dummy_function(): def new_dummy_function(): print('foobar') - raise NotImplemented # skipcq: pyl-e0702 + raise NotImplementedError # skipcq: pyl-e0702 diff --git a/sample_without_trailing_newline.py b/sample_without_trailing_newline.py index 7ef4537..bc7aa13 100644 --- a/sample_without_trailing_newline.py +++ b/sample_without_trailing_newline.py @@ -33,4 +33,4 @@ def dummy_function(): def new_dummy_function(): print('foobar') # This is a comment, we test whether the next line gets highlighted - raise NotImplemented # raise an issue here + raise NotImplementedError # raise an issue here