mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-139322: Create test_os package (#139453)
* Move test_posix.py and test_os.py to Lib/test/test_os/. * Split Windows specific test cases to a new test_windows.py file.
This commit is contained in:
parent
f39dea3bae
commit
0158890005
7 changed files with 653 additions and 630 deletions
3
Lib/test/test_os/utils.py
Normal file
3
Lib/test/test_os/utils.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
def create_file(filename, content=b'content'):
|
||||
with open(filename, "xb", 0) as fp:
|
||||
fp.write(content)
|
||||
Loading…
Add table
Add a link
Reference in a new issue