From b5d1484637a7d3cba7ee4c3ea403bf52e053f537 Mon Sep 17 00:00:00 2001 From: Seperman Date: Mon, 13 Nov 2023 22:45:09 -0800 Subject: [PATCH] fixes #418 --- tests/test_delta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_delta.py b/tests/test_delta.py index 13a7f40..d3a614d 100644 --- a/tests/test_delta.py +++ b/tests/test_delta.py @@ -116,7 +116,7 @@ def test_delta_dump_and_read2(self, tmp_path): t2 = [1, 2, 3, 5] diff = DeepDiff(t1, t2) delta_content = Delta(diff).dumps() - path = os.path.join('tmp_path, delta_test2.delta') + path = os.path.join(tmp_path, 'delta_test2.delta') with open(path, 'wb') as the_file: the_file.write(delta_content) delta = Delta(delta_path=path) @@ -128,7 +128,7 @@ def test_delta_dump_and_read3(self, tmp_path): t2 = [1, 2, 3, 5] diff = DeepDiff(t1, t2) delta_content = Delta(diff).dumps() - path = os.path.join('tmp_path, delta_test2.delta') + path = os.path.join(tmp_path, 'delta_test2.delta') with open(path, 'wb') as the_file: the_file.write(delta_content) with pytest.raises(ValueError) as excinfo: