Skip to content

Commit

Permalink
Remove test samples (#11906)
Browse files Browse the repository at this point in the history
I don't know that these have caught any real issues in the last couple
years, however, the standard library ones have been a bit of a pain,
most recently in #11905.

Jukka was okay removing the stdlib samples two years ago, see
#8838 (comment)
We now have tooling like mypy primer that runs mypy over a much larger
and more varied corpus of code on every PR.

The other samples haven't caused me much bother (except for crawl,
which I removed in #9375), but except for crawl2, they're all very simple.
I don't think they provide us much value, unless they have sentimental or
historical value.
  • Loading branch information
hauntsaninja authored Jan 8, 2022
1 parent 254d41e commit 531a1f0
Show file tree
Hide file tree
Showing 53 changed files with 2 additions and 16,213 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ DEALINGS IN THE SOFTWARE.

= = = = =

Portions of mypy and mypyc are licensed under different licenses. The
files under stdlib-samples as well as the files
Portions of mypy and mypyc are licensed under different licenses.
The files
mypyc/lib-rt/pythonsupport.h, mypyc/lib-rt/getargs.c and
mypyc/lib-rt/getargsfast.c are licensed under the PSF 2 License, reproduced
below.
Expand Down
35 changes: 0 additions & 35 deletions mypy/test/testsamples.py

This file was deleted.

13 changes: 0 additions & 13 deletions test-data/samples/bottles.py

This file was deleted.

18 changes: 0 additions & 18 deletions test-data/samples/class.py

This file was deleted.

8 changes: 0 additions & 8 deletions test-data/samples/cmdline.py

This file was deleted.

Loading

0 comments on commit 531a1f0

Please sign in to comment.