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 3c3c1c1 commit e0d3e13Copy full SHA for e0d3e13
tests/test_plugin.py
@@ -196,7 +196,12 @@ def test_load_config_target_version():
196
def test_load_config_py36():
197
config = load_config(str(fixtures_dir / "py36" / "example.py"))
198
199
- assert config["target_version"] == black.PY36_VERSIONS
+ assert config["target_version"] == {
200
+ black.TargetVersion.PY36,
201
+ black.TargetVersion.PY37,
202
+ black.TargetVersion.PY38,
203
+ black.TargetVersion.PY39,
204
+ }
205
206
207
def test_load_config_defaults():
0 commit comments