diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-06-08 08:19:04 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-06-08 08:19:04 +0300 |
commit | 03d4be0e398525fa086a1ebb5c6e7a282f039109 (patch) | |
tree | 594da20eda93d9aafcf02ccf39577b8960448d72 | |
parent | f1d9a62a4b6c257ea22a6e33a93a4d21f249e2d1 (diff) | |
download | mediagoblin-03d4be0e398525fa086a1ebb5c6e7a282f039109.tar.lz mediagoblin-03d4be0e398525fa086a1ebb5c6e7a282f039109.tar.xz mediagoblin-03d4be0e398525fa086a1ebb5c6e7a282f039109.zip |
Fix an usage of file().
-rw-r--r-- | mediagoblin/tests/test_workbench.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_workbench.py b/mediagoblin/tests/test_workbench.py index 6695618b..f3ff57ed 100644 --- a/mediagoblin/tests/test_workbench.py +++ b/mediagoblin/tests/test_workbench.py @@ -50,7 +50,7 @@ class TestWorkbench(object): # kill a workbench this_workbench = self.workbench_manager.create() tmpfile_name = this_workbench.joinpath('temp.txt') - tmpfile = file(tmpfile_name, 'w') + tmpfile = open(tmpfile_name, 'w') with tmpfile: tmpfile.write('lollerskates') |