beeware / ouroboros

A standalone, pure Python implementation of the Python Standard Library.
Other
294 stars 48 forks source link

pull glob module tests from cpython suite #14

Closed mmchugh closed 7 years ago

mmchugh commented 7 years ago

Experimenting with running the tests and pulled the glob tests from cpython's 3.4 branch.

Changed the import to come from ouroboros instead of the standard library, all tests pass.

I figured more tests were better than none, but there may be a better approach than just copy and pasting the tests.

phildini commented 7 years ago

Thanks for pulling in these tests! If these truly were a copy-paste from cpython (which I don't think is a problem, but we should check) then we should make sure to call that out at the top of the class and maybe add something to the LICENSE.

phildini commented 7 years ago

Turns out our LICENSE already covers the python stdlib!