diff options
author | Hugues <hugues.bruant@affirm.com> | 2019-11-04 00:06:12 -0800 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-11-04 09:06:12 +0100 |
commit | 481be93dfc3622e1fb9f807f0774a3fa940eb57d (patch) | |
tree | 0cdbaaabb044c3be9e08ed4e264ed0d131c293de /tests/test_self.py | |
parent | 96b3892506de6033ecb4f6e288bd4f5b211d894c (diff) | |
download | pylint-git-481be93dfc3622e1fb9f807f0774a3fa940eb57d.tar.gz |
Fix py3k (#3210)
Enable syntax errors to properly surface invalid code in py3
porting mode, instead of silently swallowing them and giving
the incorrect impression that the code is valid for py3.
Closes #2956
Diffstat (limited to 'tests/test_self.py')
-rw-r--r-- | tests/test_self.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_self.py b/tests/test_self.py index 9269ab650..6ce5e7dae 100644 --- a/tests/test_self.py +++ b/tests/test_self.py @@ -245,14 +245,14 @@ class TestRunTC(object): # Test that --py3k flag works. rc_code = 0 self._runtest( - [join(HERE, "functional", "u", "unpacked_exceptions.py"), "--py3k"], + [join(HERE, "functional", "u", "unnecessary_lambda.py"), "--py3k"], code=rc_code, ) def test_py3k_jobs_option(self): rc_code = 0 self._runtest( - [join(HERE, "functional", "u", "unpacked_exceptions.py"), "--py3k", "-j 2"], + [join(HERE, "functional", "u", "unnecessary_lambda.py"), "--py3k", "-j 2"], code=rc_code, ) |