make sure doc test does not leave a modified file behind.

This commit is contained in:
Helmut Merz 2011-04-28 12:35:43 +02:00
parent e2b5359d9a
commit 012217c348
2 changed files with 3 additions and 1 deletions

View file

@ -223,7 +223,6 @@ Extracting Document Properties from MS Office Files
>>> tOfficeFile = concepts['officefile']
>>> path = os.path.join(dataDir, 'office')
>>> fn = os.path.join(path, 'example.docx')
>>> shutil.copy(fn + '.sav', fn)
>>> os.path.getsize(fn)
20337L
@ -237,6 +236,9 @@ Extracting Document Properties from MS Office Files
>>> len(content)
17409
Clean up:
>>> shutil.copy(fn + '.sav', fn)
Fin de partie
=============

Binary file not shown.