(self)
| 1448 | |
| 1449 | # Regression test for http://bugs.python.org/issue1293. |
| 1450 | def test_trailing_slash(self): |
| 1451 | with open(os.path.join(self.path, 'test_trailing_slash.py'), |
| 1452 | 'w', encoding='utf-8') as f: |
| 1453 | f.write("testdata = 'test_trailing_slash'") |
| 1454 | sys.path.append(self.path+'/') |
| 1455 | mod = __import__("test_trailing_slash") |
| 1456 | self.assertEqual(mod.testdata, 'test_trailing_slash') |
| 1457 | unload("test_trailing_slash") |
| 1458 | |
| 1459 | # Regression test for http://bugs.python.org/issue3677. |
| 1460 | @unittest.skipUnless(sys.platform == 'win32', 'Windows-specific') |
nothing calls this directly
no test coverage detected