Skip to content

Commit 24846a8

Browse files
committed
fix odd indent
1 parent 4e4b2d8 commit 24846a8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

pyperformance/tests/test_pyproject_toml.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff 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))

0 commit comments

Comments
 (0)