Skip to content

Commit

Permalink
pythonGH-110109: pathlib tests: store base directory as test class at…
Browse files Browse the repository at this point in the history
…tribute (python#113221)

Store the test base directory as a class attribute named `base` rather than
module constants named `BASE`.

The base directory is a local file path, and therefore not ideally suited
to the pathlib ABC tests. In a future commit we'll change its value in
`test_pathlib_abc.py` such that it points to a totally fictitious path, which 
will help to ensure we're not touching the local filesystem.
  • Loading branch information
barneygale authored Dec 17, 2023
1 parent d91e43e commit 2f0ec7f
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 222 deletions.
Loading

0 comments on commit 2f0ec7f

Please sign in to comment.