We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 999d5fd commit 0c05587Copy full SHA for 0c05587
tests/common.py
@@ -101,7 +101,7 @@ def unregister_test_codecs():
101
102
103
def is_test_codec(codec):
104
- return codec in test_codec_infos.keys()
+ return codec in test_codec_infos
105
106
107
def built_in_equivalent_of_test_codec(test_codec):
tests/test_cli.py
@@ -891,7 +891,7 @@ def test_valid_encodings(self):
891
}
892
893
with temp_workspace(workspace):
894
- for config_path in config_files.keys():
+ for config_path in config_files:
895
# First, make sure that encoding autodetection works when the
896
# file’s path is given as a command-line argument.
897
with RunContext(self) as ctx:
0 commit comments