Skip to content

Commit 5ac7d67

Browse files
committed
tests: fix testSrcPEP420Packages with Python 3.10
Before this change, the test would yield "mypy.ini: No [mypy] section in config file" because of the double closing bracket. This is caused by a fix for https://bugs.python.org/issue38741 that is included in Python 3.10: python/cpython@1cc6769
1 parent 6c6c795 commit 5ac7d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/cmdline.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ c.py:2: error: Argument 1 to "bar" has incompatible type "str"; expected "int"
791791
[case testSrcPEP420Packages]
792792
# cmd: mypy -p anamespace --namespace-packages
793793
[file mypy.ini]
794-
\[mypy]]
794+
\[mypy]
795795
mypy_path = src
796796
[file src/setup.cfg]
797797
[file src/anamespace/foo/__init__.py]

0 commit comments

Comments
 (0)