Skip to content

Commit

Permalink
removed generating of temp files
Browse files Browse the repository at this point in the history
  • Loading branch information
joshy authored Oct 15, 2020
1 parent 6f17f9f commit 493146f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 22 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,7 @@ ENV/
tests/rtf/[0-9]*.rtf


.DS_Store
.DS_Store

# codespaces
pythonenv3.8
17 changes: 0 additions & 17 deletions perf.py

This file was deleted.

2 changes: 0 additions & 2 deletions tests/test_line_breaks_textedit_mac.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ def test_extract_simple_table(self):

with simple_table_rtf.open() as source:
result = rtf_to_text(source.read())
with open("o.txt", "w") as f:
f.write(result)
with simple_table_txt.open() as destination:
self.assertEqual(destination.read(), result)

2 changes: 0 additions & 2 deletions tests/test_speiseplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ def test_speiseplan(self):

with example_rtf.open() as source:
result = rtf_to_text(source.read())
with (open("foo.text", "w")) as f:
f.write(result)
with example_txt.open() as destination:
self.maxDiff = None
self.assertEqual(destination.read(), result)
Expand Down

0 comments on commit 493146f

Please sign in to comment.