(self)
| 677 | self.assertNotEqual(mtime, mtime2) |
| 678 | |
| 679 | def test_recursion_control(self): |
| 680 | subpackage = os.path.join(self.pkgdir, 'spam') |
| 681 | os.mkdir(subpackage) |
| 682 | subinitfn = script_helper.make_script(subpackage, '__init__', '') |
| 683 | hamfn = script_helper.make_script(subpackage, 'ham', '') |
| 684 | self.assertRunOK('-q', '-l', self.pkgdir) |
| 685 | self.assertNotCompiled(subinitfn) |
| 686 | self.assertFalse(os.path.exists(os.path.join(subpackage, '__pycache__'))) |
| 687 | self.assertRunOK('-q', self.pkgdir) |
| 688 | self.assertCompiled(subinitfn) |
| 689 | self.assertCompiled(hamfn) |
| 690 | |
| 691 | def test_recursion_limit(self): |
| 692 | subpackage = os.path.join(self.pkgdir, 'spam') |
nothing calls this directly
no test coverage detected