File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -821,13 +821,13 @@ def get_code(self, fullname):
821821 hash_based = False
822822 check_source = True
823823 try :
824- # DO NOT MERGE - just testing unconditionally skipping this path
825- raise NotImplementedError ()
826824 bytecode_path = cache_from_source (source_path )
827825 except NotImplementedError :
828826 bytecode_path = None
829827 else :
830828 try :
829+ # DO NOT MERGE - just testing unconditionally skipping this path
830+ raise OSError ()
831831 st = self .path_stats (source_path )
832832 except OSError :
833833 pass
@@ -889,6 +889,8 @@ def get_code(self, fullname):
889889 data = _code_to_timestamp_pyc (code_object , source_mtime ,
890890 len (source_bytes ))
891891 try :
892+ # DO NOT MERGE - just testing unconditionally skipping this path
893+ raise NotImplementedError ()
892894 self ._cache_bytecode (source_path , bytecode_path , data )
893895 except NotImplementedError :
894896 pass
You can’t perform that action at this time.
0 commit comments