Skip to content

Commit e0d3e13

Browse files
committed
Fix test_load_config_py36
1 parent 3c3c1c1 commit e0d3e13

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_plugin.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,12 @@ def test_load_config_target_version():
196196
def test_load_config_py36():
197197
config = load_config(str(fixtures_dir / "py36" / "example.py"))
198198

199-
assert config["target_version"] == black.PY36_VERSIONS
199+
assert config["target_version"] == {
200+
black.TargetVersion.PY36,
201+
black.TargetVersion.PY37,
202+
black.TargetVersion.PY38,
203+
black.TargetVersion.PY39,
204+
}
200205

201206

202207
def test_load_config_defaults():

0 commit comments

Comments
 (0)