(self)
| 104 | class TestCase(unittest.TestCase): |
| 105 | |
| 106 | def setUp(self): |
| 107 | # The tests assume that line wrapping occurs at 80 columns, but this |
| 108 | # behaviour can be overridden by setting the COLUMNS environment |
| 109 | # variable. To ensure that this width is used, set COLUMNS to 80. |
| 110 | env = self.enterContext(os_helper.EnvironmentVarGuard()) |
| 111 | env['COLUMNS'] = '80' |
| 112 | |
| 113 | |
| 114 | @os_helper.skip_unless_working_chmod |