diff options
| author | Guido van Rossum <guido@python.org> | 2007-05-24 16:11:18 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-05-24 16:11:18 +0000 |
| commit | 305b9246a75cf4b1eac29c9b5b41cb5541daa7ee (patch) | |
| tree | 46f4be18910d1bb94816996b6a170ed589a2fc19 /Lib/test/test_bool.py | |
| parent | 6f376c40317e693c5eea0356fbb90d7394f21ff0 (diff) | |
| download | cpython-git-305b9246a75cf4b1eac29c9b5b41cb5541daa7ee.tar.gz | |
Fix test_bool and test_bufio.
Diffstat (limited to 'Lib/test/test_bool.py')
| -rw-r--r-- | Lib/test/test_bool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_bool.py b/Lib/test/test_bool.py index 1fc9c05165..8006370c38 100644 --- a/Lib/test/test_bool.py +++ b/Lib/test/test_bool.py @@ -26,10 +26,10 @@ class BoolTest(unittest.TestCase): def test_print(self): try: - fo = open(test_support.TESTFN, "wb") + fo = open(test_support.TESTFN, "w") print(False, True, file=fo) fo.close() - fo = open(test_support.TESTFN, "rb") + fo = open(test_support.TESTFN, "r") self.assertEqual(fo.read(), 'False True\n') finally: fo.close() |
