File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -46,23 +46,23 @@ def test_parse_full_valid_project_section(self):
4646 def test_parse_fails_on_missing_name (self ):
4747 with tempfile .TemporaryDirectory () as tmpdir :
4848 toml_content = """
49- [project]
50- version = "1.0"
51- """
49+ [project]
50+ version = "1.0"
51+ """
5252
5353 with self .assertRaisesRegex (ValueError , r'missing required "name" field' ):
5454 _pyproject_toml .parse_pyproject_toml (toml_content , rootdir = str (tmpdir ))
5555
5656 def test_parse_fails_on_unsupported_section (self ):
5757 with tempfile .TemporaryDirectory () as tmpdir :
5858 toml_content = """
59- [project]
60- name = "my-test-bench"
61- version = "1.0"
59+ [project]
60+ name = "my-test-bench"
61+ version = "1.0"
6262
63- [foobar]
64- key = "value"
65- """
63+ [foobar]
64+ key = "value"
65+ """
6666
6767 with self .assertRaisesRegex (ValueError , "unsupported sections" ):
6868 _pyproject_toml .parse_pyproject_toml (toml_content , rootdir = str (tmpdir ))
You can’t perform that action at this time.
0 commit comments