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 and aisk committed Feb 11, 2024
1 parent c972eaf commit 0ab09f0
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 222 deletions.

0 comments on commit 0ab09f0

Please sign in to comment.