diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2012-06-11 15:08:36 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2012-06-11 15:08:36 +0000 |
| commit | e1855a6ed118eccf93950c9821b75ca53646d774 (patch) | |
| tree | fa0974d2de02b9af02413563fb7e0e578ef31168 /python | |
| parent | 3be307770542e3f15bcae49055294d9b8b14eebd (diff) | |
| download | libgats-e1855a6ed118eccf93950c9821b75ca53646d774.tar.gz libgats-e1855a6ed118eccf93950c9821b75ca53646d774.tar.bz2 libgats-e1855a6ed118eccf93950c9821b75ca53646d774.tar.xz libgats-e1855a6ed118eccf93950c9821b75ca53646d774.zip | |
GatsCon can display nulls now.
Diffstat (limited to 'python')
| -rwxr-xr-x | python/test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/test.py b/python/test.py index a359893..0057fbf 100755 --- a/python/test.py +++ b/python/test.py | |||
| @@ -8,3 +8,6 @@ print isinstance( 1, bool ) | |||
| 8 | print isinstance( 1, int ) | 8 | print isinstance( 1, int ) |
| 9 | 9 | ||
| 10 | print gats.loads( gats.dumps( [0, 1, 2, 3, None, {'hi': None, 'bye': 1}] ) ) | 10 | print gats.loads( gats.dumps( [0, 1, 2, 3, None, {'hi': None, 'bye': 1}] ) ) |
| 11 | |||
| 12 | gats.dump( [0, 1, 2, 3, None, {'hi': None, 'bye': 1}], open('test.gats', 'w') ) | ||
| 13 | gats.dump( 'hello', open('test-str.gats', 'w') ) | ||
