Skip to content

Commit

Permalink
warnings for py2
Browse files Browse the repository at this point in the history
  • Loading branch information
jgsogo committed Nov 29, 2019
1 parent 435ad96 commit d569bad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_hooks/test_recipe_linter.py
Expand Up @@ -46,8 +46,10 @@ def test_basic(self, pylint_werr):
" Please fix them.", output)

if six.PY2:
self.assertIn("ERROR: Py3 incompatibility. Line 7: print statement used", output)
self.assertIn("ERROR: Py3 incompatibility. Line 8: Calling a dict.iter*() method", output)
self.assertIn("pre_export(): conanfile.py:8:8:"
" E1601: print statement used (print-statement)", output)
self.assertIn("pre_export(): conanfile.py:9:20:"
" W1620: Calling a dict.iter*() method (dict-iter-method)", output)

self.assertIn("pre_export(): conanfile.py:9:20:"
" W1620: Calling a dict.iter*() method (dict-iter-method)", output)
Expand Down

0 comments on commit d569bad

Please sign in to comment.