Commit 5151baf0 authored by Robert Bradshaw's avatar Robert Bradshaw

Py3-ism

parent 0369269d
......@@ -34,12 +34,12 @@ from enums cimport *
# We can import enums with a star import.
from enums import *
print dir()
print(dir())
assert 'BAR' in dir() and 'FOO' in dir()
# enums not generated in the wrong module
import no_enums
print dir(no_enums)
print(dir(no_enums))
assert 'FOO' not in dir(no_enums)
assert 'foo' not in dir(no_enums)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment