(self, path1)
| 1243 | _ = path1.stat().group |
| 1244 | |
| 1245 | def test_chmod_simple_int(self, path1): |
| 1246 | mode = path1.stat().mode |
| 1247 | # Ensure that we actually change the mode to something different. |
| 1248 | path1.chmod((mode == 0 and 1) or 0) |
| 1249 | try: |
| 1250 | print(path1.stat().mode) |
| 1251 | print(mode) |
| 1252 | assert path1.stat().mode != mode |
| 1253 | finally: |
| 1254 | path1.chmod(mode) |
| 1255 | assert path1.stat().mode == mode |
| 1256 | |
| 1257 | def test_path_comparison_lowercase_mixed(self, path1): |
| 1258 | t1 = path1.join("a_path") |