~jr/ubuntu-release-upgrader-neon/trunk

« back to all changes in this revision

Viewing changes to tests/test_pyflakes.py

  • Committer: Jonathan Riddell
  • Date: 2018-07-26 11:16:40 UTC
  • Revision ID: jriddell@ubuntu.com-20180726111640-van58hd8ot6xw980
merge manually (can not find a branch) with bionic

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    def test_pyflakes_clean(self):
46
46
        # mvo: type -f here to avoid running pyflakes on imported files
47
47
        #      that are symlinks to other packages
48
 
        cmd = 'find %s/.. -type f -name "*.py" | xargs pyflakes' % CURDIR
 
48
        cmd = 'find %s/.. -type f -name "*.py" | xargs pyflakes3' % CURDIR
49
49
        p = subprocess.Popen(
50
50
            cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
51
51
            close_fds=True, shell=True, universal_newlines=True)