MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_magic_number

Method test_magic_number

Lib/test/test_compileall.py:126–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

124 0, 1))
125
126 def test_magic_number(self):
127 # Test a change in mtime leads to a new .pyc.
128 self.recreation_check(b'\0\0\0\0')
129
130 def test_compile_files(self):
131 # Test compiling a single file, and complete directory

Callers

nothing calls this directly

Calls 1

recreation_checkMethod · 0.95

Tested by

no test coverage detected