__init__.py |
|
0 |
_path.py |
Build a set of files/directories, as described by the spec.
Each key represents a pathname, and the value represents
the content. Content may be a nested directory.
>>> spec = {
... 'README.txt': "A README file",
... "foo": {
... "__init__.py": "",
... "bar": {
... "__init__.py": "",
... },
... "baz.py": "# Some code",
... }
... }
>>> target = getfixture('tmp_path')
>>> build(spec, target)
>>> target.joinpath('foo/baz.py').read_text(encoding='utf-8')
'# Some code'
|
1289 |
compat |
|
|
data01 |
|
|
data02 |
|
|
namespacedata01 |
|
|
test_compatibilty_files.py |
|
3314 |
test_contents.py |
|
930 |
test_custom.py |
A simple loader that only implements a resource reader.
|
1221 |
test_files.py |
Files used to take a 'package' parameter. Make sure anyone
passing by name is still supported.
|
3472 |
test_functional.py |
Yield various names of a text file in anchor02, each in a subTest |
8591 |
test_open.py |
Raises UnicodeError without the 'errors' argument.
|
2778 |
test_path.py |
Path should be readable and a pathlib.Path instance.
|
2009 |
test_read.py |
Raises UnicodeError without the 'errors' argument.
|
3112 |
test_reader.py |
|
5001 |
test_resource.py |
Test odd ball packages which:
# 1. Do not have a ResourceReader as a loader
# 2. Are not on the file system
# 3. Are not in a zip file
|
7823 |
util.py |
Tests shared by test_open, test_path, and test_read.
|
4745 |
zip.py |
Generate zip test data files.
|
783 |