Skip to content

Commit

Permalink
cleanup: not really needed??
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Dec 20, 2023
1 parent 440320b commit 726e8fe
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/zope/testrunner/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1505,13 +1505,6 @@ def import_errors(self, import_errors):
return self.delegate.import_errors(import_errors)

def _record(self, test, seconds, failure=None, error=None):
try:
os.getcwd()
except OSError:
# In case the current directory is no longer available fallback to
# the default working directory.
os.chdir(self.cwd)

for parser in [parse_doc_file_case,
parse_doc_test_case,
parse_manuel,
Expand Down

0 comments on commit 726e8fe

Please sign in to comment.