Skip to content

[BUG]: Running tests produces a spurious n directory #1547

Closed
@asnare

Description

@asnare

Is there an existing issue for this?

  • I have searched the existing issues

Category of Bug / Issue

Other

Current Behavior

Running the project tests results in a spurious n directory being created in the project root, with a temporary directory structure inside it. (This issue might be limited to macOS.)

Expected Behavior

Running tests shouldn't modify anything within the source project structure; any temporary directories/files should take place within the system-specific temporary directory. (And be cleaned up automatically after tests run.)

Steps To Reproduce

On a mac:

  1. Create a clean development environment:
    HATCH_PYTHON="$(which python3.10)" make clean dev
  2. Verify that there is no n directory.
  3. Run the project tests:
    make test
  4. Observe that an n directory has now been created.

Operating System

macOS

Version

latest via Databricks CLI

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginternaltechnical pr's not end user facing

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions