Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd87552 commit 886b40aCopy full SHA for 886b40a
1 file changed
Lib/test/support.py
@@ -804,8 +804,8 @@ def _parse_guards(guards):
804
# Returns a tuple ({platform_name: run_me}, default_value)
805
if not guards:
806
return ({'cpython': True}, False)
807
- is_true = guards.values()[0]
808
- assert guards.values() == [is_true] * len(guards) # all True or all False
+ is_true = list(guards.values())[0]
+ assert list(guards.values()) == [is_true] * len(guards) # all True or all False
809
return (guards, not is_true)
810
811
# Use the following check to guard CPython's implementation-specific tests --
0 commit comments