diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-04-04 17:32:24 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-04-04 17:32:24 -0400 |
commit | 6ca0769a2f82c7c7d6a34fda2571b9ae15950842 (patch) | |
tree | 56e32d7ad1f1054190c30a4459b14464547daa1e /test/test_pyrecwrap.jl | |
parent | b20c077ec646fdc2612e31f3305e8cfcedae207b (diff) | |
download | PyX.jl-6ca0769a2f82c7c7d6a34fda2571b9ae15950842.tar.gz PyX.jl-6ca0769a2f82c7c7d6a34fda2571b9ae15950842.zip |
add recursive version of PyCall's pywrap
Will be used to have deeply nested Julia Modules for deeply nested
Python modules Eg, os.path.genericpath.* in python becomes
os.path.genericpath.* in Julia.
This version only works with modules, not Python classes.
Thanks to James Porter at the Recurse Center for helping with this!
Diffstat (limited to 'test/test_pyrecwrap.jl')
-rw-r--r-- | test/test_pyrecwrap.jl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_pyrecwrap.jl b/test/test_pyrecwrap.jl new file mode 100644 index 0000000..cef3f08 --- /dev/null +++ b/test/test_pyrecwrap.jl @@ -0,0 +1,4 @@ + +os_test = PyX.pyrecwrap(pyimport("os")) +@test os_test.path.genericpath.os.path.genericpath.os.path.genericpath != nothing + |