File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
23
23
24
24
SKIP_TESTS_FOR_DJANGO_VERSION = {
25
- # if the value of the dict key is False, skip the test, otherwise run it
26
- 'func_noerror_protected_meta_access' : django_version >= (1 , 8 )
25
+ # if the second value is False, skip the test, otherwise run it
26
+ ( 'func_noerror_protected_meta_access' , django_version >= (1 , 8 )),
27
27
}
28
28
29
29
@@ -51,7 +51,7 @@ def tests(input_dir, messages_dir):
51
51
# a piece of functionality in pylint-django that should only
52
52
# in higher versions.
53
53
specific_tests = []
54
- for test_name , version_range in SKIP_TESTS_FOR_DJANGO_VERSION . iteritems () :
54
+ for test_name , version_range in SKIP_TESTS_FOR_DJANGO_VERSION :
55
55
if not version_range :
56
56
specific_tests .append (test_name )
57
57
filter_rgx = '(%s)' % '|' .join (specific_tests )
You can’t perform that action at this time.
0 commit comments