Skip to content

test_custom_and_analytical leaves open file in cwd #9705

Closed

Description

@dhomeier

Description

After merging #9522 the new test fails on open_files=True and leaves the open file custom_and_analytical_inverse.asdf, which is created in cwd instead of tmpdir, behind.
See review and comment for details.

Expected behavior

Should use something like

fa.write_to(str(tmpdir.join('custom_and_analytical_inverse.asdf')))

and close the file on return.

System Details

OS X 10.12.6
Python 3.6.9, 3.7.5, 3.8.0
Numpy: 1.17.4
Scipy: 1.3.2
Astropy 4.0rc1, 4.1.dev27006

Activity

  1. added a commit that references this issue on Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions