Author: bugman Date: Thu Nov 22 11:26:04 2007 New Revision: 3810 URL: http://svn.gna.org/viewcvs/relax?rev=3810&view=rev Log: Added the tmpfile() file descriptor to the 'DATA_TYPES' array. Modified: 1.3/test_suite/unit_tests/_prompt/data_types.py Modified: 1.3/test_suite/unit_tests/_prompt/data_types.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/data_types.py?rev=3810&r1=3809&r2=3810&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/_prompt/data_types.py (original) +++ 1.3/test_suite/unit_tests/_prompt/data_types.py Thu Nov 22 11:26:04 2007 @@ -20,6 +20,8 @@ # # ############################################################################### +# Python module imports. +from os import tmpfile class Container: @@ -55,6 +57,9 @@ # Binaries. DATA_TYPES.append(['bin', 0]) DATA_TYPES.append(['bin', 1]) + +# File descriptor. +DATA_TYPES.append(['file', tmpfile()]) # Floats. DATA_TYPES.append(['float', 0.0])