Skip to content

Commit

Permalink
fixes #418
Browse files Browse the repository at this point in the history
  • Loading branch information
seperman committed Nov 14, 2023
1 parent d5b66b7 commit b5d1484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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:
Expand Down

0 comments on commit b5d1484

Please sign in to comment.