]> granicus.if.org Git - python/commitdiff
Add a note in the main test class' docstring that the order of execution of the
authorBrett Cannon <bcannon@gmail.com>
Mon, 3 Mar 2008 03:24:48 +0000 (03:24 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 3 Mar 2008 03:24:48 +0000 (03:24 +0000)
tests is important.

Lib/test/test_largefile.py

index a98aab24a1d4784a49b9e4e0fd699c7e8506a1c2..1da0e7d1dc450f4e09b4ffba87558a8d72708b17 100644 (file)
@@ -25,6 +25,10 @@ class TestCase(unittest.TestCase):
     """Test that each file function works as expected for a large
     (i.e. > 2GB, do  we have to check > 4GB) files.
 
+    NOTE: the order of execution of the test methods is important! test_seek
+    must run first to create the test file. File cleanup must also be handled
+    outside the test instances because of this.
+
     """
 
     def test_seek(self):