<s> import hyper <EOL> import imp <EOL> import pytest <EOL> import sys <EOL> class TestImportPython2 ( object ) : <EOL> def test_cannot_import_python_2 ( self , monkeypatch ) : <EOL> monkeypatch . setattr ( sys , '<STR_LIT>' , ( <NUM_LIT:2> , <NUM_LIT:6> , <NUM_LIT:5> , '<STR_LIT>' , <NUM_LIT:0> ) ) <EOL> with pytest . raises ( ImportError ) : <EOL> imp . reload ( hyper ) <EOL> class TestImportPython3 ( object ) : <EOL> def test_cannot_import_python_32 ( self , monkeypatch ) : <EOL> monkeypatch . setattr ( sys , '<STR_LIT>' , ( <NUM_LIT:3> , <NUM_LIT:2> , <NUM_LIT:3> , '<STR_LIT>' , <NUM_LIT:0> ) ) <EOL> with pytest . raises ( ImportError ) : <EOL> imp . reload ( hyper ) </s>
