Skip to content

Commit 3640ead

Browse files
Re-enable duplicate-code checker in stdlib primer test
The duplicate-code checker was previously disabled in the stdlib primer because it was too slow. With the recent performance optimizations it might completes in reasonable time, so re-enable it.
1 parent 5ee074a commit 3640ead

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/primer/test_primer_stdlib.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,8 @@ def test_primer_stdlib_no_crash(
5959
try:
6060
# We want to test all the code we can
6161
enables = ["--enable-all-extensions", "--enable=all"]
62-
# Duplicate code takes too long and is relatively safe
6362
# We don't want to lint the test directory which are repetitive
64-
disables = ["--disable=duplicate-code", "--ignore=test"]
63+
disables = ["--ignore=test"]
6564
with warnings.catch_warnings():
6665
warnings.simplefilter("ignore", category=UserWarning)
6766
Run([test_module_name, *enables, *disables])

0 commit comments

Comments
 (0)