Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gaogaotiantian committed Apr 23, 2024
1 parent 92f0451 commit 666a64e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ def test_directory(self):
child_dir = os.path.join(tmpdir, "child")
script = f"""
import coredumpy
coredumpy.dump(directory="{tmpdir}")
coredumpy.dump(directory="{tmpdir}")
coredumpy.dump(directory="{child_dir}")
coredumpy.dump(directory={repr(tmpdir)})
coredumpy.dump(directory={repr(tmpdir)})
coredumpy.dump(directory={repr(child_dir)})
"""
self.run_script(script)
self.assertEqual(len(os.listdir(tmpdir)), 3)
Expand Down

0 comments on commit 666a64e

Please sign in to comment.