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.19.2.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.17.3.2 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.17.3.1 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.17.3.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.16.3.2 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.16.3.1 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.16.0.4 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.16.0.3 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.16.0.2 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.16.0.1 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.16.0.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.13.7.3 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.13.6.2 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.13.6.1 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.13.5.1 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.13.4.1 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.13.3.1 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.12.5.1 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.12.5.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py
rubyfox-server-2.12.4.0 lib/rubyfox/server/data/lib/Lib/test/test_frozen.py