diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-09-21 14:27:32 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-09-21 13:00:17 +0000 |
| commit | fcdf6ad919e14aca48199099a95cd9de2e6c21df (patch) | |
| tree | a0052442d035f6623164850830496163ad94f7a4 /doc/codesnippets/snippets | |
| parent | 6ba40af73b2286a27431b4adc057fae24c836794 (diff) | |
qfile_test.py: Fix Python 3
- Make the check in testBug721 depending on Python version.
- Ensure cleanup of the temporary file in case of test failure,
fixing windows warning:
File "tests/QtCore/qfile_test.py", line 21, in tearDown
os.remove(self.filename)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'd:\\temp\\tmp27nmak6m'
Change-Id: Ie69de51658109f5a9e649f9377b686a6a291cfe0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'doc/codesnippets/snippets')
0 files changed, 0 insertions, 0 deletions
