Nexus File Manager
v2.0
🏠
Dashboard
⚡
System
🌐
›
lib64
›
python2.7
›
test
Quick:
⬆️ Parent
🌐 Root
🏠 Home
🌍 WWW
📁 Temp
⚙️ Etc
📤 Upload
📁 Create
⚡ WordPress Admin
🔄 Refresh
✏️ test_import_magic.pyc
← Back
� zfc @ s` d d l Z d d l Z d d l Z d e j f d � � YZ d � Z e d k r\ e � n d S( i����Nt MagicNumberTestsc B s5 e Z d Z e j e j j d k d � d � � Z RS( sL Test release compatibility issues relating to precompiled bytecode t candidatet finals8 only applies to candidate or final python release levelsc C sN d } t j � } t | d � d >t | d � } d } | j | | � d S( s Each python minor release should generally have a MAGIC_NUMBER that does not change once the release reaches candidate status. Once a release reaches candidate status, the value of the constant EXPECTED_MAGIC_NUMBER in this test should be changed. This test will then check that the actual MAGIC_NUMBER matches the expected value for the release. In exceptional cases, it may be required to change the MAGIC_NUMBER for a maintenance release. In this case the change should be discussed in python-dev. If a change is required, community stakeholders such as OS package maintainers must be notified in advance. Such exceptional releases will then require an adjustment to this test case. i� i i i s� To avoid breaking backwards compatibility with cached bytecode files that can't be automatically regenerated by the current user, candidate and final releases require the current importlib.util.MAGIC_NUMBER to match the expected magic number in this test. Set the expected magic number in this test to the current MAGIC_NUMBER to continue with the release. Changing the MAGIC_NUMBER for a maintenance release requires discussion in python-dev and notification of community stakeholders.N( t impt get_magict ordt assertEqual( t selft EXPECTED_MAGIC_NUMBERt raw_magict actualt msg( ( s. /usr/lib64/python2.7/test/test_import_magic.pyt test_magic_number s "( R R ( t __name__t __module__t __doc__t unittestt skipUnlesst syst version_infot releaselevelR ( ( ( s. /usr/lib64/python2.7/test/test_import_magic.pyR s c C s d d l m } | t � d S( Ni����( t run_unittest( t test.supportR R ( R ( ( s. /usr/lib64/python2.7/test/test_import_magic.pyt test_main5 s t __main__( R R R t TestCaseR R R ( ( ( s. /usr/lib64/python2.7/test/test_import_magic.pyt <module> s ,
💻
System Info
Current path
/lib64/python2.7/test
Contents
10 folders, 1437 files
Disk free
100.06 GB
PHP version
8.3.30
🚀
Quick Actions
📍 Script location
🌐 Web root
🗑️ Temp
📁 /lib64/python2.7/test
⚡ Nexus File Manager • 1447 items