diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-03-26 16:45:52 +0200 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-03-26 16:45:52 +0200 |
commit | 8bc29e8aa88b13b4c64e8d83968c8c21320d5757 (patch) | |
tree | 3d48354c14549388dfe47e7c0fb94f31cf07e2f8 /pylint/test/functional/confidence_filter.py | |
parent | 65d557e7c1f5e7b224621b6c18aa930b891b8da4 (diff) | |
download | pylint-8bc29e8aa88b13b4c64e8d83968c8c21320d5757.tar.gz |
Try to make the tests compatible with both Python 2 and Python 3.
Diffstat (limited to 'pylint/test/functional/confidence_filter.py')
-rw-r--r-- | pylint/test/functional/confidence_filter.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pylint/test/functional/confidence_filter.py b/pylint/test/functional/confidence_filter.py index 64cc8c4..b934c9d 100644 --- a/pylint/test/functional/confidence_filter.py +++ b/pylint/test/functional/confidence_filter.py @@ -1,4 +1,5 @@ """Test for the confidence filter.""" +from __future__ import print_function class Client(object): """use provider class""" @@ -10,5 +11,5 @@ class Client(object): """set set_later attribute (introduce an inference ambiguity)""" self.set_later = value -print Client().set_later.lower() -print Client().foo # [no-member] +print(Client().set_later.lower()) +print(Client().foo) # [no-member] |