summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/tests/env/config/test_PortageModulesFile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/tests/env/config/test_PortageModulesFile.py b/pym/portage/tests/env/config/test_PortageModulesFile.py
index e4f9e4252..d8938d8c5 100644
--- a/pym/portage/tests/env/config/test_PortageModulesFile.py
+++ b/pym/portage/tests/env/config/test_PortageModulesFile.py
@@ -29,7 +29,7 @@ class PortageModulesFileTestCase(TestCase):
def BuildFile(self):
fd, self.fname = mkstemp()
- f = os.fdopen(fd, 'wb')
+ f = os.fdopen(fd, 'w')
for k, v in self.items.iteritems():
f.write('%s=%s\n' % (k,v))
f.close()