Skip to content

Commit

Permalink
Update functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Apr 23, 2023
1 parent c0d961b commit f2556fd
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tests/functional/b/bad_reversed_sequence_py37.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
""" Dictionaries are reversible starting on python 3.8"""

# pylint: disable=missing-docstring

reversed({'a': 1, 'b': 2}) # [bad-reversed-sequence]
# This can't be detected since changes to locals aren't backported
reversed({'a': 1, 'b': 2})


class InheritDict(dict):
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/b/bad_reversed_sequence_py37.rc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[testoptions]
max_pyver=3.8
[main]
py-version=3.7
1 change: 0 additions & 1 deletion tests/functional/b/bad_reversed_sequence_py37.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
bad-reversed-sequence:5:0:5:26::The first reversed() argument is not a sequence:UNDEFINED
bad-reversed-sequence:12:0:12:39::The first reversed() argument is not a sequence:UNDEFINED
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[testoptions]
max_pyver=3.8
[main]
py-version=3.7
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[testoptions]
max_pyver=3.8
max_pyver=3.9

0 comments on commit f2556fd

Please sign in to comment.