(self)
| 1495 | |
| 1496 | # Regression test for http://bugs.python.org/issue1293. |
| 1497 | def test_trailing_slash(self): |
| 1498 | with open(os.path.join(self.path, 'test_trailing_slash.py'), |
| 1499 | 'w', encoding='utf-8') as f: |
| 1500 | f.write("testdata = 'test_trailing_slash'") |
| 1501 | sys.path.append(self.path+'/') |
| 1502 | mod = __import__("test_trailing_slash") |
| 1503 | self.assertEqual(mod.testdata, 'test_trailing_slash') |
| 1504 | unload("test_trailing_slash") |
| 1505 | |
| 1506 | # Regression test for http://bugs.python.org/issue3677. |
| 1507 | @unittest.skipUnless(sys.platform == 'win32', 'Windows-specific') |
nothing calls this directly
no test coverage detected