Sha256: 61b0ea60f53ba3f24567274ed8ffe167694151677d864daa5e9a060b297d44d6

Contents?: true

Size: 550 Bytes

Versions: 30

Compression:

Stored size: 550 Bytes

Contents

# Test the frozen module defined in frozen.c.

from test_support import TestFailed
import sys, os

try:
    import __hello__
except ImportError, x:
    raise TestFailed, "import __hello__ failed:", x

try:
    import __phello__
except ImportError, x:
    raise TestFailed, "import __phello__ failed:", x

try:
    import __phello__.spam
except ImportError, x:
    raise TestFailed, "import __phello__.spam failed:", x

try:
    import __phello__.foo
except ImportError:
    pass
else:
    raise TestFailed, "import __phello__.foo should have failed"

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rubyfox-server-2.12.1.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.11.1.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.9.2.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.9.1.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.9.0.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.8.4.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.8.0.1 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.8.0.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.3.0.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.3.0.pre2 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py