diff options
| author | Eric N. Vander Weele <ericvw@gmail.com> | 2020-01-12 16:26:26 -0800 |
|---|---|---|
| committer | Eric N. Vander Weele <ericvw@gmail.com> | 2020-01-12 23:13:04 -0500 |
| commit | 98d3d50295c3e686913e4c01ca0de2c523aae33b (patch) | |
| tree | 86b2e7edeba3a5515cdef686d95b0a11c9084e8e /src | |
| parent | a5aa81e87588ff36560654a5ada13eb87e7e8133 (diff) | |
| download | flake8-98d3d50295c3e686913e4c01ca0de2c523aae33b.tar.gz | |
tests: Ensure patched `os.getcwd()` is an absolute path
`os.getcwd()` returns an absolute path; thus, the patched paths should
be absolute as well.
This is an incremental change towards removing the `ConfigFileFinder`
attributes `.parent` and `.tail` to be localized to
`.generate_possible_local_files()`. Without this, the tests fail when
moving the patching because `os.path.abspath()` calls `os.getcwd()`,
expecting `os.getcwd()` to be an absolute path.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
