Mercurial > hg
comparison tests/test-check-pyflakes.t @ 21271:4adc090fa2fb
tests: ignore "undefined name 'memoryview'" pyflakes error on earlier Python
Before this patch, "test-check-pyflakes.t" shows unexpected "undefined
name 'memoryview'" error for "mercurial/util.py" on Python 2.6.x or
earlier, because they don't define symbol 'memoryview'.
This patch introduces excluding patterns into "filterpyflakes.py" to
ignore "undefined name 'memoryview'" pyflakes error on Python 2.6.x or
earlier
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 09 May 2014 08:44:53 +0900 |
parents | e3ca21e4d05f |
children | 507ce509fd22 |
comparison
equal
deleted
inserted
replaced
21270:8fd982139740 | 21271:4adc090fa2fb |
---|---|
15 tests/hghave.py:*: '_lsprof' imported but unused (glob) | 15 tests/hghave.py:*: '_lsprof' imported but unused (glob) |
16 tests/hghave.py:*: 'publish_cmdline' imported but unused (glob) | 16 tests/hghave.py:*: 'publish_cmdline' imported but unused (glob) |
17 tests/hghave.py:*: 'pygments' imported but unused (glob) | 17 tests/hghave.py:*: 'pygments' imported but unused (glob) |
18 tests/hghave.py:*: 'ssl' imported but unused (glob) | 18 tests/hghave.py:*: 'ssl' imported but unused (glob) |
19 contrib/win32/hgwebdir_wsgi.py:93: 'from isapi.install import *' used; unable to detect undefined names (glob) | 19 contrib/win32/hgwebdir_wsgi.py:93: 'from isapi.install import *' used; unable to detect undefined names (glob) |
20 tests/filterpyflakes.py:59: undefined name 'undefinedname' | |
20 | 21 |
21 #endif | 22 #endif |